GdPicture.NET.14.MAUI
GdPicture14.MAUI Namespace / GdViewer Class / LoadDocument Method / LoadDocument(Stream,String,Boolean) Method
A Stream object specifying the document to load.
Specifies the document password. Default value is empty string.
A flag specifying if the viewer is responsible to handle disposing of the documentStream parameter. The default value is true.





In This Topic
LoadDocument(Stream,String,Boolean) Method
In This Topic
Loads a document from a Stream object.
Syntax
'Declaration
 
Public Overloads Sub LoadDocument( _
   ByVal documentStream As Stream, _
   Optional ByVal password As String, _
   Optional ByVal ownSource As Boolean _
) 
public void LoadDocument( 
   Stream documentStream,
   string password,
   bool ownSource
)
public procedure LoadDocument( 
    documentStream: Stream;
    password: String;
    ownSource: Boolean
); 
public function LoadDocument( 
   documentStream : Stream,
   password : String,
   ownSource : boolean
);
public: void LoadDocument( 
   Stream* documentStream,
   string* password,
   bool ownSource
) 
public:
void LoadDocument( 
   Stream^ documentStream,
   String^ password,
   bool ownSource
) 

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