'Declaration
Public Function DisplayFromIStream( _ ByVal Stream As IStream, _ ByVal Password As String _ ) As GdPictureStatus
public GdPictureStatus DisplayFromIStream( IStream Stream, string Password )
public function DisplayFromIStream( Stream: IStream; Password: String ): GdPictureStatus;
public function DisplayFromIStream( Stream : IStream, Password : String ) : GdPictureStatus;
public: GdPictureStatus DisplayFromIStream( IStream* Stream, string* Password )
public: GdPictureStatus DisplayFromIStream( IStream^ Stream, String^ Password )
Parameters
- Stream
- A System.IO.IStream 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.
- Password
- The password to be used to decrypt the PDF document, if that is stored in the Stream parameter, allowing the control to read its content. Use the empty string to allow the control to automatically prompts users to enter a correct password and also for files with no encryption.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.