Skip to main content

Document.LoadDocument Method

Name Parameters Description
LoadDocument(Stream, DocumentFormat) stream, format Loads a document from a stream, specifying the document's format.
LoadDocument(Stream, DocumentFormat, String) stream, format, sourceUri Loads a document from the stream in the specified format. External content is retrieved using the specified source (base) URI.
LoadDocument(String, DocumentFormat) fileName, format Loads a document from the specified file in the specified format. External content is retrieved using the specified source (base) URI.
LoadDocument(String, DocumentFormat, String) fileName, format, sourceUri Loads a document from the specified file in the specified format. External content is retrieved using the specified source (base) URI.