Camera Property
Applies To
VideoBox
Description
Gets or sets the camera number for the VideoBox control.
Usage
GGet Form.Control.Camera, var
GSet Form.Control.Camera, value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- var
- Integer variable that will contain the value of the property.
- value
- Integer expression for the new value of the property.
Values
The camera number for the video display. If the value is 0, then the video from any camera is displayed when VRun executes. To display the video, set the VideoEnabled property to “True”.
See Also
VideoBox, VideoEnabled
Example
GSet frmMain.VideoBox1.Camera, 1