DIAdem Help

Method: Add for OverlayObjects

  • Updated2024-09-12
  • 1 minute(s) read

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)
ObjectOverlayObjects
Object with this method
TypeLongInteger
Specifies the type of the OverlayObject object:
 1
Rectangle
 2
Markers
TimeChannelVariant
Specifies the channel containing the time values of the OverlayObject object.
XChannelVariant
Specifies the channel with the x-values of the OverlayObject object as a percentage of the video area.
YChannelVariant
Specifies the channel with the y-values of the OverlayObject object as a percentage of the video area.
LabelChannelVariant
Specifies the data channel containing the labels of the OverlayObject object.
oOverlayObjectOverlayObject
Returned object

All channels in use must have the same length.