LoadDocument(Stream,String,Boolean) Method
In This Topic
Loads a document from a Stream object.
Syntax
'Declaration
Public Overloads Sub LoadDocument( _
ByVal As Stream, _
Optional ByVal As String, _
Optional ByVal As Boolean _
)
public void LoadDocument(
Stream ,
string ,
bool
)
public procedure LoadDocument(
: Stream;
: String;
: Boolean
);
public function LoadDocument(
: Stream,
: String,
: boolean
);
public: void LoadDocument(
Stream* ,
string* ,
bool
)
public:
void LoadDocument(
Stream^ ,
String^ ,
bool
)
Parameters
- documentStream
- A Stream object specifying the document to load.
- password
- Specifies the document password. Default value is empty string.
- ownSource
- A flag specifying if the viewer is responsible to handle disposing of the documentStream parameter. The default value is true.
See Also