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

[Delphi]   [ Boolean = ]playcontrolname.StartFrom(Time: Double)
[Delphi]   [ Boolean = ]playcontrolname.StartFrom(Time: Int64)

Parameters

Name Explanation
Time The start location. When this parameter is Double, the time is in seconds. When this parameter is Int64, the time is in units of 100 nanoseconds.

Return Value

Returns True if successful, returns False when not successful.

Explanation

The StartFrom method sets the start location of the video in seconds or in units of 100 nanoseconds 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, 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 VCL is a product created by Newtone Corporation