This method starts the video.

[Visual Basic]   [ Boolean = ]playcontrolname.Start(Mode As DisplayModeConstants, Rate As Double)
[Visual C++]     [ BOOL = ]playcontrolname.Start(long Mode, double Rate)
[VB.NET]   [ Boolean = ]playcontrolname.Start(Mode As ImageKit10WebCamera(A)Lib.DisplayModeConstants, Rate As Double)
[C#.NET]   [ bool = ]playcontrolname.Start(ImageKit10WebCamera(A)Lib.DisplayModeConstants Mode, double Rate)

* ImageKit10WebCameraALib refers to the ANSI version, ImageKit10WebCameraLib refers to the Unicode version.

Parameters

Name Explanation
Mode The display mode
0: Scale (The video is scaled to fit within the Play Control while keeping the video's original height to width ratio)
1: Stretch (The video is stretched to fill the Play Control's dimensions)

The following contants may also be used: (ikScale = 0, ikStretch = 1)
Rate The video speed

Return Value

Returns True (nonzero) if successful, returns False (0) when not successful.

Explanation

The Start method starts the video. The Mode parameter determines how the video will be displayed in the Play Control. The Rate parameter sets the speed. Default speed is 1.0. Values of 0 or less are not allowed. Depending on the type of file played (for example WMV format) the Rate parameter may not have any effect. In that case, the rate is 1.0

When the Start method returns True(nonzero), the State property is updated. If the return value is False (0), then values of 2, 5, or 11 will be set in the ErrorStatus property.

To specified the starting location of the video, use the StartFrom method.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation