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

SwfFrame Constructor (Bitmap, Int32, Int32, Int32, DisposalMethod)

Creates and initializes new SwfFrame class instance. You can associate a bitmap with this frame as well as set frame position, delay, and disposal method.

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 _
)
C#
public SwfFrame(
	Bitmap bitmap,
	int left,
	int top,
	int delay,
	DisposalMethod disposalMethod
)

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 Left property.
top

Type: System.Int32

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

Type: System.Int32

Delay of the frame in hundredths (1/100) of a second. You can change it later using Delay property.
disposalMethod

Type: Aurigma.GraphicsMill.Codecs.DisposalMethod

Disposal method of the frame, i.e. how to replace this frame by the next one. You can change it later using DisposalMethod property.

See Also

Reference