'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 GdPicture14.GdPictureStatus
public GdPicture14.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.