Exception is occured - add pdf on page manage

Help
Lui Ho Wai
2010-12-13
2013-01-26
  • Lui Ho Wai
    Lui Ho Wai
    2010-12-13

    When I add the pdf on the page manager "pm.Add(sourcefile.Document)", the following error is showed.
    1) {System.NullReferenceException}
    2) System.NotImplementedException - Encrypted files are currently not
    I am sure that the file is existed. also, the file can be opened by adobe reader.
    So, how do I enhance the program to read the pdf files?

     
  • As prompted by the exception, encrypted files are currently not supported.
    In order to read encrypted files you have to implement § 3.5 of PDF Reference 1.7.