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

CustomFormatReader.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 Overrides Function OnCheckForSupport ( _
	stream As Stream _
) As Boolean
C#
protected internal override 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.

Remarks

This method is called by the CheckForSupport(Stream) method and has a standard implementation that calls the IsSupported(Stream) method.

Note

No need to implement this method directly. Implement the IsSupported(Stream) method instead.

See Also

Reference