Click or drag to resize
DocumentModelLoad Method (Stream, LoadOptions)
Loads a document from the specified stream.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public static DocumentModel Load(
	Stream stream,
	LoadOptions options
)

Parameters

stream
Type: System.IOStream
The stream from which to load a document.
options
Type: GemBox.DocumentLoadOptions
The loading options which can be used to define settings for load operation.

Return Value

Type: DocumentModel
A loaded document.
See Also