VIDEO_OA_ewoDragDrop()
An EWO will open a live image as soon as a camera data point will be dropped to the EWO.
Synopsis
void VIDEO_OA_ewoDragDrop(string droppedText, int dragType, int dialogIdx =
0);
Parameters
Parameter | Description |
---|---|
droppedText | Camera data point (e.g. Camera_00001) |
dragType | Drag type (is not used at the moment) |
dialogIdx | Dialog number |
Return Value
None.
Errors
Missing or wrong arguments
Description
You can use this function only in the "onDrop" script of a video EWO. If you add the function to the script, the EWO will open a live image as soon as a camera data point is dropped to the EWO (e.g. to a camera symbol). The parameter dialogIdx specifies in which dialog the image will be opened. If the parameter is 0 or you do not pass it, the image will be opened in the active dialog. Otherwise the image will be opened in the passed dialog.
EXAMPLE
main(string droppedText, int dragType, int dialogIdx)
{
VIDEO_OA_ewoDragDrop(droppedText, dragType, dialogIdx);
}
Assignment
Video functions
Availability
UI, CTRL