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

FormatManager.CreateFormatReader Method (Stream)

Creates and returns format reader opened on specified stream.

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

Syntax

Visual Basic
Public Shared Function CreateFormatReader ( _
	stream As Stream _
) As IFormatReader
C#
public static IFormatReader CreateFormatReader(
	Stream stream
)

Parameters

stream

Type: System.IO.Stream

The stream to open format reader on.

Return Value

The object that implements the IFormatReader interface which is opened on the specified stream.

Remarks

This method automatically determines the media format and creates appropriate format reader class instance.

See Also

Reference