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

GifEncoderOptions Constructor (Int32, Int32, Int32, DisposalMethod, Boolean, Boolean)

Creates and initializes new GifEncoderOptions class instance. You can initialize frame-related properties and GIF dimensions here.

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

Syntax

Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	delay As Integer, _
	disposalMethod As DisposalMethod, _
	interlaced As Boolean, _
	lastFrame As Boolean _
)
C#
public GifEncoderOptions(
	int width,
	int height,
	int delay,
	DisposalMethod disposalMethod,
	bool interlaced,
	bool lastFrame
)

Parameters

width

Type: System.Int32

Entire GIF file width (in pixels). You can change it later using the Width property.
height

Type: System.Int32

Entire GIF file height (in pixels). You can change it later using the Height 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 the Interlaced property.
lastFrame

Type: System.Boolean

Value that specifies if the current frame is the last frame the global palette is generated for. You can change it later using the LastFrame property.

See Also

Reference