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)


Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	left As Integer, _
	top As Integer, _
	delay As Integer, _
	disposalMethod As DisposalMethod, _
	quality As Integer _
public SwfFrame(
	Bitmap bitmap,
	int left,
	int top,
	int delay,
	DisposalMethod disposalMethod,
	int quality



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.

Type: System.Int32

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

Type: System.Int32

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

Type: System.Int32

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

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.

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.


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

See Also