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

Returns if any, the encryption scheme used to encode a PDF.

C#
public PdfEncryption PdfReaderGetEncryptionScheme(
    int hPdf
);
Visual Basic
Public Function PdfReaderGetEncryptionScheme(
    ByVal hPdf As Integer
) As PdfEncryption
Parameters
Parameters 
Description 
hPdf 
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function. 
Returns

The encryption scheme used to encode the PDF. A member of the PdfEncryption enumeration.

Before using this function on an encrypted PDF, make sure it has been decoded using the PdfReaderSetPassword function.

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