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

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

Creates and initializes new SwfEncoderOptions class instance. You can set such movie parameters as dimensions, background color, and also frame delay, disposal method 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, _
	disposalMethod As DisposalMethod _
)
C#
public SwfEncoderOptions(
	int width,
	int height,
	RgbColor backgroundColor,
	int quality,
	int delay,
	DisposalMethod disposalMethod
)

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.
disposalMethod

Type: Aurigma.GraphicsMill.Codecs.DisposalMethod

DisposalMethod value that specifies a disposal method for the frame. You can change it later using DisposalMethod property.

Remarks

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

See Also

Reference