This documentation is for the old version. Go to the latest Graphics Mill docs

WMReader.TimeToFrameIndex Method

Returns the index of the frame which is shown at the specified time.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill.Codecs.MediaProcessor (in Aurigma.GraphicsMill.Codecs.MediaProcessor.dll)

Syntax

Visual Basic
Public Function TimeToFrameIndex ( _
	time As Integer _
) As Integer
C#
public int TimeToFrameIndex(
	int time
)

Parameters

time

Type: System.Int32

An integer value measured in 1/100s of a second that specifies the moment of time at which the frame in question appears.

Return Value

The number of the frame which is shown at the specified time.

See Also

Reference