open
Opens a document from a file path using default settings.
Return
A new Document instance representing the opened document.
Parameters
file Path
The path to the document file to open.
Opens a document from a file path using specified settings.
Return
A new Document instance representing the opened document.
Parameters
file Path
The path to the document file to open.
settings
The settings to use when opening the document.
Opens a document from a stream using default settings.
Return
A new Document instance representing the opened document.
Parameters
stream
The stream containing the document data.
Opens a document from a stream using specified settings.
Return
A new Document instance representing the opened document.
Parameters
stream
The stream containing the document data.
settings
The settings to use when opening the document.