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

AviWriter.ResizeFrame Property

Gets/sets a value which specifies whether to resize the frame to dimensions of the writer.

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

Syntax

Visual Basic
Public Property ResizeFrame As Boolean
C#
public bool ResizeFrame { get; set; }

Property Value

A Boolean value which specifies whether to resize the frame to dimensions of the writer.

Remarks

When the this 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