This method starts the video capture.
[Visual Basic] [ Boolean
= ]recordcontrolname.Start(Mode As
DisplayModeConstants)
[Visual C++] [
BOOL = ]recordcontrolname.Start(long
Mode)
[VB.NET] [ Boolean =
]recordcontrolname.Start(Mode As
ImageKit10WebCamera(A)Lib.DisplayModeConstants)
[C#.NET] [ bool =
]recordcontrolname.Start(ImageKit10WebCamera(A)Lib.DisplayModeConstants
Mode)
* ImageKit10WebCameraALib refers to the ANSI version, ImageKit10WebCameraLib refers to the Unicode version.
Parameters
Name | Explanation |
---|---|
Mode | The display mode 0: Scale (The capture is scaled to the dimensions of the Record Control) 1: Stretch (The capture is stretched to fill the Record Control's dimensions) The following contants may also be used: (ikScale = 0, ikStretch = 1) |
Return Value
Returns True (nonzero) if successful, returns False (0) when not successful.
Explanation
The Start method starts the video capture. The Mode parameter determines how the video will be displayed in the Record Control.
When the Start method returns True(nonzero), the State property is updated. If the return value is False (0), then values of 2 or 11 will be set in the ErrorStatus property.