dispose
Closes the document being edited, if one is still open, and releases the native resources held by this object.
close closes the document and leaves this object usable for another one; this method ends its life. Once disposed it can no longer be used. Calling it more than once has no effect.
The document is closed first because closing it is what hands ownership of a converted document back to the SDK. Releasing the handle alone would leak that document. Closing an already-closed document does nothing, so calling close beforehand is free.