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

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

Creates and initializes a new GifFrame instance. You can associate a bitmap with it as well as set all the frame settings here.

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

Syntax

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

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance which should be associated with this frame. To put another bitmap into frame, you should use SetBitmap(Bitmap) method.
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 the 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