This method specifies the location from which the video will start.

[Visual Basic]   [ Boolean = ]playcontrolname.StartFrom(Time As Double)
[Visual C++]     [ BOOL = ]playcontrolname.StartFrom(double Time)
[VB.NET]   [ Boolean = ]playcontrolname.StartFrom(Time As Double)
[C#.NET]   [ bool = ]playcontrolname.StartFrom(double Time)

Parameters

Name Explanation
Time The start location, in seconds.

Return Value

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

Explanation

The StartFrom method sets the start location of the video in seconds as specified by the Time parameter. The default time is 0, which is the beginning of the video. Negative values are not allowed.

When the StartFrom method returns False (0), then values of 2, 5, or 11 will be set in the ErrorStatus property.

To start the video from the specified location, execute the StartFrom method before the Start method. If you execute the Start method without first executing the StartFrom method, the video will begin at the beginning.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation