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

FormatManager.CreateFormatReader Method (String)

Creates and returns format reader opened on specified file.

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

Syntax

Visual Basic
Public Shared Function CreateFormatReader ( _
	fileName As String _
) As IFormatReader
C#
public static IFormatReader CreateFormatReader(
	string fileName
)

Parameters

fileName

Type: System.String

The name of the file to open format reader on.

Return Value

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

Remarks

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

See Also

Reference