Camera Property

Description
Sets/gets the camera number to display video from. This is useful when you want to display video during jogging operations, live video monitoring, etc. If you are using the control to display graphics for vision sequences, then when the sequence is run, the camera number for the sequence will be used instead of this property value.

Syntax
Property Camera As Integer

Default Value
0 – any camera is displayed

Return value
Integer value containing the current camera number

See Also
VideoEnabled Property, GraphicsEnabled Property

Examples
VB Example:

SpelVideo1.Camera = 1  

C# Example:

SpelVideo1.Camera = 1;