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

FormatWriter.Close Method

Closes format writer, flushes all unsaved data, and detaches the writer 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 writer.

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

See Also

Reference