DocuVieware Reference Guide
LoadFromStream(Stream,Boolean,String) Method

GdPicture12.WEB Namespace > DocuVieware Class > LoadFromStream Method : LoadFromStream(Stream,Boolean,String) Method
System.IO.Stream object storing the document.
Specifies if 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.
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 _
) As GdPictureStatus

Parameters

Stream
System.IO.Stream object storing the document.
OwnStream
Specifies if 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.

Return Value

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

Reference

DocuVieware Class
DocuVieware Members
Overload List