This property retrieves the current state of the Preview Control.
[TVIkVideoStates Type]
Unit
IkWebCamera
type
TVIkVideoStates = (vikClosed = 0,
vikOpen = 1, vikRunning = 2, vikPaused = 4, vikStopped = 8);
TVIkVideoStates = set of TVIkVideoState;
Property Value
Value | Explanation |
---|---|
vikClosed | Closed |
vikOpen | Open |
vikRunning | Running |
vikPaused | Paused |
vikStopped | Stopped |
Explanation
The State property retrieves the current state of the Preview 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.
Setting this value
This value cannot be set
Retrieving this value
This value can be retrieved at run-time
Differences from ImageKit7/8/9/10 ActiveX
The type has changed in VCL. In ActiveX, it was a combination
type. When more than one of the methods close, open, pause, start,
or stop was executed, the State property value would be a
logical sum.
The VCL constants have a "v". In ActiveX, the constants are:
(ikClosed, ikOpen, ikRunning, ikPaused, ikStopped).