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

FormatReader.LoadFrame Method

Returns a frame with specified index. This frame contains a bitmap and possible other details describing it.

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

Syntax

Visual Basic
Public Overridable Function LoadFrame ( _
	index As Integer _
) As IFrame
C#
public virtual IFrame LoadFrame(
	int index
)

Parameters

index

Type: System.Int32

Index of the frame. Cannot exceed value specified with FrameCount property.

Return Value

An object which implements IFrame interface and contains the data of the specified frame.

Remarks

Note

Frames loaded with this method are not cached. It means that if you load a frame with some index, do some changes in this frame, and then load this frame through this method again, all changes will be lost.

See Also

Reference