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

DSReader.IsFrameSeekable Property

Gets a value specifying whether the opened file is seekable by index.

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

Syntax

Visual Basic
Public Overrides NotOverridable ReadOnly Property IsFrameSeekable As Boolean
C#
public override sealed bool IsFrameSeekable { get; }

Property Value

A Boolean value specifying whether the opened file is seekable by index (random access is available). If the file is not seekable, only sequential access is possible (i.e. to read Nth frame you need to load N-1 frames).

Remarks

It is possible to convert non-seekable ASF files to seekable ones. To do it, you should create an index for such files using the AsfIndexer class.

The frame type returned by the reader depends on this property. For seekable files DSFrame instances are returned. For non-seekable ones - DSPreLoadedFrame.

See Also

Reference