'Declaration
Public Overloads Shared Sub DecryptFile( _ ByVal input As Stream, _ ByVal inputPassword As String, _ ByVal output As Stream, _ Optional ByVal enableObjectCompression As Boolean _ )
'Usage
Dim input As Stream Dim inputPassword As String Dim output As Stream Dim enableObjectCompression As Boolean PdfEncryptor.DecryptFile(input, inputPassword, output, enableObjectCompression)
public static void DecryptFile( Stream input, string inputPassword, Stream output, bool enableObjectCompression )
public: static void DecryptFile( Stream^ input, String^ inputPassword, Stream^ output, bool enableObjectCompression )
Parameters
- input
- Stream containing the input PDF file.
- inputPassword
- Password for decrypting the input file.
- output
- Stream for storing the decrypted PDF file.
- enableObjectCompression
- If true then the internal structure of the output PDF file is compressed.