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

SwfEncoderOptions Constructor (Int32, Int32, RgbColor, Int32, Int32)

Creates and initializes new SwfEncoderOptions class instance. You can set such movie parameters as dimensions, background color, and also frame delay and JPEG quality.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	backgroundColor As RgbColor, _
	quality As Integer, _
	delay As Integer _
)
C#
public SwfEncoderOptions(
	int width,
	int height,
	RgbColor backgroundColor,
	int quality,
	int delay
)

Parameters

width

Type: System.Int32

SWF movie width (in pixels). You can change it later using Width property.
height

Type: System.Int32

SWF movie height (in pixels). You can change it later using Height property.
backgroundColor

Type: Aurigma.GraphicsMill.RgbColor

Background color for the SWF movie. You can change it later using BackgroundColor 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.
delay

Type: System.Int32

Number of hundredths (1/100) of a second to wait after rendering the frame. You can change it later using Delay property.

Remarks

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

See Also

Reference