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. Default value is true.
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.
Not documented. Do not use yet.

In This Topic

LoadFromStream Method (DocuViewareControl)

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

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. Default value is true.
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.
ContentEncoding
Not documented. Do not use yet.

Return Value

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