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

FormatReader.OnCheckForSupport Method

Checks if the codec can read the specified file.

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

Syntax

Visual Basic
Protected Friend Overridable Function OnCheckForSupport ( _
	stream As Stream _
) As Boolean
C#
protected internal virtual bool OnCheckForSupport(
	Stream stream
)

Parameters

stream

Type: System.IO.Stream

The stream that contains the file to test.

Return Value

true, if the stream can be read by the codec, otherwise false.

See Also

Reference