Closes the writer, flushes all unsaved data, and detaches the it from the opened file (or other media).
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public virtual void Close()
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.