This method defines the start location (in seconds) of the video.

[Visual Basic]
Public Function StartFrom(ByVal time As Double) As Boolean
Public Function StartFrom(ByVal time As Long) As Boolean
[C#]
public bool StartFrom(double time);
public bool StartFrom(long time);

Parameters

time

The start location (in seconds when double is used; in nanoseconds when long is used)

Return Value

Returns True if successful, otherwise returns False

Explanation

The StartFrom method defines the start location of the video. The time parameter contains the start location. The default value is 0. (A negative value is not possible).

If unsuccessful, then "Step", "ETC", or "Value" will be set in the ErrorStatus property.

If after executing the Open method, you execute the Start method without executing the StartFrom method, the video will start at the beginning. However, to avoid the possiblity of replaying a video, it is advisable to always execute the StartFrom method prior to executing the Start method.

See Also

Play Members | Newtone.ImageKit.Wpf.WebCamera.Play

 

The ImageKit WPF is created by Newtone Corporation