Opens the document from stream in Xml or Microsoft Word format.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void LoadFromStream(
	Stream stream,
	FileFormat fileFormat,
	string password
)
Public Sub LoadFromStream ( 
	stream As Stream,
	fileFormat As FileFormat,
	password As String
)
public:
void LoadFromStream(
	Stream^ stream, 
	FileFormat fileFormat, 
	String^ password
)
member LoadFromStream : 
        stream : Stream * 
        fileFormat : FileFormat * 
        password : string -> unit 

Parameters

stream
Stream
The stream.
fileFormat
FileFormat
password
String
The password.

See Also