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

GifFrame Constructor (Int32, Int32, Int32, DisposalMethod, Boolean, Boolean)

Creates and initializes a new GifFrame instance. You can set all the frame settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	left As Integer, _
	top As Integer, _
	delay As Integer, _
	disposalMethod As DisposalMethod, _
	interlaced As Boolean, _
	lastFrame As Boolean _
)
C#
public GifFrame(
	int left,
	int top,
	int delay,
	DisposalMethod disposalMethod,
	bool interlaced,
	bool lastFrame
)

Parameters

left

Type: System.Int32

X-coordinate of the top left corner of the frame (in pixels). You can change it later using the Left property.
top

Type: System.Int32

Y-coordinate of the top left corner of the frame (in pixels). You can change it later using the Left property.
delay

Type: System.Int32

Number of hundredths (1/100) of a second to wait after rendering the frame. You can change it later using the Delay property.
disposalMethod

Type: Aurigma.GraphicsMill.Codecs.DisposalMethod

DisposalMethod value that specifies a disposal method for the frame. You can change it later using the DisposalMethod property.
interlaced

Type: System.Boolean

Value that specifies if the frame should be interlaced. You can change it later using Interlaced property.
lastFrame

Type: System.Boolean

Value that specifies if the frame is the last one and the global palette can be saved immediately. You can change it later using the LastFrame property.

See Also

Reference