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

AviWriter Constructor (Stream)

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

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


Visual Basic
Public Sub New ( _
	stream As Stream _
public AviWriter(
	Stream stream



Type: System.IO.Stream

Stream to open the writer on.


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(Stream) method to open the writer (when you are sure that the writer settings should not be changed).

See Also