Method: Add for OverlayObjects
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Methods > Method: Add for OverlayObjects
Method: Add for OverlayObjects
Creates a new OverlayObject object in a video in DIAdem VIEW. You use OverlayObject objects to highlight areas in a video with markers or rectangles. All channels in use must have the same length.
Set oOverlayObject = Object.Add(Type, TimeChannel, XChannel, YChannel, LabelChannel)
| Object | OverlayObjects Object with this method | ||||
| Type | LongInteger Specifies the type of the OverlayObject object:
| ||||
| TimeChannel | Variant Specifies the channel containing the time values of the OverlayObject object. | ||||
| XChannel | Variant Specifies the channel with the x-values of the OverlayObject object as a percentage of the video area. | ||||
| YChannel | Variant Specifies the channel with the y-values of the OverlayObject object as a percentage of the video area. | ||||
| LabelChannel | Variant Specifies the data channel containing the labels of the OverlayObject object. | ||||
| oOverlayObject | OverlayObject Returned object |
All channels in use must have the same length.