'Declaration
Public Overloads Function DisplayFromStream( _ ByVal Stream As Stream, _ ByVal Password As String _ ) As GdPictureStatus
public GdPictureStatus DisplayFromStream( Stream Stream, string Password )
public function DisplayFromStream( Stream: Stream; Password: String ): GdPictureStatus;
public function DisplayFromStream( Stream : Stream, Password : String ) : GdPictureStatus;
public: GdPictureStatus DisplayFromStream( Stream* Stream, string* Password )
public: GdPictureStatus DisplayFromStream( Stream^ Stream, 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.
- Password
- The password to be used to decrypt the PDF document 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.
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.