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

SwfEncoderOptions Constructor (RgbColor, Int32)

Creates and initializes new SwfEncoderOptions class instance. You can set frame compression type and movie background color here.

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

Syntax

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

Parameters

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.

Remarks

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

See Also

Reference