You’re viewing outdated documentation. View the latest Graphics Mill documentation.

SwfEncoderOptions Constructor (Int32, Int32, DisposalMethod)

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

Creates and initializes new SwfEncoderOptions class instance. You can set delay and disposal method of the frame as well as JPEG quality.

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

Syntax

Visual Basic
Public Sub New ( _
	quality As Integer, _
	delay As Integer, _
	disposalMethod As DisposalMethod _
)
C#
public SwfEncoderOptions(
	int quality,
	int delay,
	DisposalMethod disposalMethod
)

Parameters

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