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

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

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

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, _
	delay As Integer, _
	disposalMethod As DisposalMethod _
)
C#
public SwfEncoderOptions(
	int width,
	int height,
	RgbColor backgroundColor,
	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.
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.

See Also

Reference