Document
LoadFromStream Method (Stream, FileFormat, String)
|
Opens the document from stream in Xml or Microsoft Word format.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
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
-
Type:
System.IO
Stream
The stream.
-
fileFormat
-
Type:
Spire.Doc
FileFormat
-
password
-
Type:
System
String
The password.
See Also