You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Reader > PdfReaderSetPassword Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfReaderSetPassword Method

Decodes and encrypted PDF specifying a password.

C#
public Boolean PdfReaderSetPassword(
    int hPdf, 
    String PassWord
);
Visual Basic
Public Function PdfReaderSetPassword(
    ByVal hPdf As Integer, 
    ByVal PassWord As String
) As Boolean
Parameters
Parameters 
Description 
hPdf 
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function. 
PassWord 
The password to be used to decode the document. 
Returns

True if the PDF has been successfully decoded, else False.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.