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

AviWriter Constructor (String)

Creates and initializes new AviWriter class instance. It also opens this writer on specified file.

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

Syntax

Visual Basic
Public Sub New ( _
	fileName As String _
)
C#
public AviWriter(
	string fileName
)

Parameters

fileName

Type: System.String

Name of the file to open the writer on.

Remarks

When you open the writer with this constructor, you will not be able to change the writer settings (such as dimensions, compressor settings, frames per second, etc). So use this constructor only if you are sure that you need not change the writer parameters. Otherwise you should:

  1. Use the constructor without parameters.
  2. Initialize all necessary settings.
  3. Use the Open(String) method to open the writer (when you are sure that the writer settings should not be changed).

See Also

Reference