'Declaration
Public Overloads Function LoadFromStream( _ ByVal Stream As Stream, _ ByVal OwnStream As Boolean, _ ByVal DocumentName As String, _ Optional ByVal Password As String _ ) As GdPicture14.GdPictureStatus
public GdPicture14.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.