'Declaration
Public Overloads Function DisplayFromStream( _ ByVal Stream As Stream, _ ByVal DocumentFormat As DocumentFormat, _ Optional ByVal Password As String _ ) As GdPictureStatus
public GdPictureStatus DisplayFromStream( Stream Stream, DocumentFormat DocumentFormat, string Password )
public function DisplayFromStream( Stream: Stream; DocumentFormat: DocumentFormat; Password: String ): GdPictureStatus;
public function DisplayFromStream( Stream : Stream, DocumentFormat : DocumentFormat, Password : String ) : GdPictureStatus;
public: GdPictureStatus DisplayFromStream( Stream* Stream, DocumentFormat DocumentFormat, string* Password )
public: GdPictureStatus DisplayFromStream( Stream^ Stream, DocumentFormat DocumentFormat, String^ Password )
Parameters
- Stream
- A System.IO.Stream object. This object must be properly initialized before it can be sent into this method and it must be disposed of by the user as well.
- DocumentFormat
- A member of the DocumentFormat enumeration. The format of the source document, that is stored in the Stream parameter. The toolkit will automatically recognize the type of the document based on the format to be able to display the required file.
- Password
Optional parameter. If provided, specifies the password to be used to decrypt the specified PDF document allowing the control to read its content.