Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Document.LoadDocument Method

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