I’m currently evaluating the Pdf.Form product and running into some problems.
When I try using Pdf.Form I receive the following error:
System.IO.IOException: Unknown encryption type: 4
I am trying to read in Pdf form data from the Request.InputStream, and save it to a new, flattened Pdf.
My code looks like this:
Form form = new Form(stream, outFile);
string mPath = System.Configuration.ConfigurationSettings.AppSettings[“Path”];string mOutputPdf = “aNewFile.pdf”;
I have a template Pdf available, but I’m not sure where to add this either.
The exception is thrown at the Form contstructor line.
What type of input does the Form expect when using a Stream; XML, FDF, XDP, or QueryString values, etc.?
I’m in a terrible hurry to get this working, so your help is greatly appreciated!