[Visual
Basic] recordcontrolname.State [=
StateConstants ]
[Visual
C++] [long =
]recordcontrolname.GetState()
[VB.NET] recordcontrolname.CtlState
[= ImageKit10WebCamera(A)Lib.StateConstants ]
[C#.NET] recordcontrolname.CtlState
[= ImageKit10WebCamera(A)Lib.StateConstants ]
* ImageKit10WebCameraALib refers to the ANSI version, ImageKit10WebCameraLib refers to the Unicode version.
Property Value
Value | Explanation |
---|---|
0 | Closed |
1 | Open |
2 | Running |
4 | Paused |
8 | Stopped |
It is also possible to use the following constants (ikClosed = 0, ikOpen = 1, ikRunning = 2, ikPaused = 4, ikStopped = 8).
Explanation
The State property retrieves the current state of the Record Control. The State property is updated whenever the Close, Open, Pause, Start, Stop methods are executed. When more than one of these methods is executed, the State property value will be a logical sum.
In VB.NET and C#.NET use "CtlState" instead of "State".
Setting this value
This value cannot be set
Retrieving this value
This value can be retrieved at run-time