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
Ivo
# Posted: 9 Mar 2011 09:48


Hi,

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

max.f
# Posted: 11 Mar 2011 07:52


Hello,

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,
max.f@colorpilot.org

 

 

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

 

Page top