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

AviWriter.Width Property

Gets/sets the width of the AVI file which is created by this writer object.

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

Syntax

Visual Basic
Public Property Width As Integer
C#
public int Width { get; set; }

Property Value

An integer value which specifies the width of the AVI you need to get. If 0 is specified, the width will be taken from the first frame added to the writer.

Remarks

When the ResizeFrame property is set to false, and the frame dimensions differ from specified in the writer, it will be centered and cropped to fit these dimensions. If this value is true, the writer object automatically resize the frame to these dimensions. Keep in mind that AVI Processor does not attempt to preserve aspect ratio of the input frame. You should provide the resize the bitmap which represents the frame in the proper way yourself.

Note

You should set this value before you open the writer object. You cannot change it when the writer is already opened!

See Also

Reference