Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support

All forums · Statistics · Search ·

Two Pilots forum / For software developers / Problem with edit box
Author Message
# Posted: 9 Mar 2011 09:48


I'am trying to add some edtiboxes to a pdf file using the creatorpilot.
The boxes appear in the file, but I can't seem to get the security settings right to allow users to fill in the fields and email the filled in pdf.

Any help would be usefull.

Thanks in advance

# Posted: 11 Mar 2011 07:52


to allow user to fill edit boxes you need to set allowed changes to level 2 or higher:

PDF.AllowedChanges = AllowLevel2Changes

But also, don't forget to enable protection by setting "owner" password and choosing an encryption level:

PDF.OwnerPassword = "!2C4e"
PDF.DocumentEncryption = el128bitRC4
PDF.AllowChangeDocument = AllowLevel2Changes
PDF.AllowCopyContent = DisallowCopy
PDF.AllowPrintDocument = DisallowPrint
PDF.SaveToFile "test.pdf", true

This sample allows filling in form fields and signing existing signature fields but disallows everything else (copying, printing, page extraction...)

Max Filimonov,



Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.024


Page top