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

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

Creates and initializes new SwfFrame class instance. You can set all SWF 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, _
	quality As Integer _
)
C#
public SwfFrame(
	int left,
	int top,
	int delay,
	DisposalMethod disposalMethod,
	int quality
)

Parameters

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