System.IO.Stream object storing the document.
Specifies whether the control is in charge of disposing the input stream when it is not needed anymore.
The initial name of the file stored in the Stream object. IE: myfile.tif. The document format will be automatically detected based on this file name.
The password required to open the document, if any.

In This Topic
GdPicture14.WEB Namespace / DocuVieware Class / LoadFromStream Method / LoadFromStream(Stream,Boolean,String,String) Method

LoadFromStream(Stream,Boolean,String,String) Method

In This Topic
Displays a document from a stream object.
Syntax
'Declaration
 
Public Overloads Function LoadFromStream( _
   ByVal Stream As Stream, _
   ByVal OwnStream As Boolean, _
   ByVal DocumentName As String, _
   Optional ByVal Password As String _
) As GdPictureStatus
public GdPictureStatus LoadFromStream( 
   Stream Stream,
   bool OwnStream,
   string DocumentName,
   string Password
)

Parameters

Stream
System.IO.Stream object storing the document.
OwnStream
Specifies whether the control is in charge of disposing the input stream when it is not needed anymore.
DocumentName
The initial name of the file stored in the Stream object. IE: myfile.tif. The document format will be automatically detected based on this file name.
Password
The password required to open the document, if any.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
Supported formats are listed here: http://www.docuvieware.com/product/features/
See Also