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

FormatReader.Close Method

Closes format reader, and detaches it from previously opened file (or other media).

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

Syntax

Visual Basic
Public Overridable Sub Close
C#
public virtual void Close()

Remarks

You should always use this method to detach from opened file (or other media). As soon as you call Open(String) method, file will be locked until you close the reader.

If you close the reader which has not been opened, the method does nothing. So you need not do any checks to ensure if reader is opened to close it.

See Also

Reference