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

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

Creates and initializes new SwfFrame class instance. You can associate a bitmap with this frame as well as set all SWF frame settings.

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

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.
quality

Type: System.Int32

Number in range [0, 100] that specifies quality of JPEG compression. Large values means higher quality, but larger file size. You can change it later using Quality property.

Remarks

If you use this constructor, Compression property will be set to Jpeg property.

See Also

Reference