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

SwfFrame Constructor (Bitmap, Int32, Int32, Int32)

Creates and initializes new SwfFrame class instance. You can associate a bitmap with this frame as well as set JPEG compression quality and frame position 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, _
	quality As Integer _
)
C#
public SwfFrame(
	Bitmap bitmap,
	int left,
	int top,
	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.
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