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

AviReader.FrameIndexToTime Method

Returns the time the frame with specified index occurs at.

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


Visual Basic
Public Function FrameIndexToTime ( _
	frameIndex As Integer _
) As Integer
public int FrameIndexToTime(
	int frameIndex



Type: System.Int32

An integer value which specifies the index of the frame you need to get the timing for.

Return Value

An integer value which contains time from the beginning of the movie to the frame with specified index. As all other time units in Graphics Mill, this value is measured in 1/100 of seconds.


This value is calculated on the basis of FramesPerSecond property.

If you need to make invert calculation - from timing to frame index, use the TimeToFrameIndex(Int32) method.

See Also