Adding a password to existing PDF

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Support Staff, moderators

Post Reply
HowardJBrown
User
Posts: 11
Joined: Wed Apr 16, 2008 3:58 am

Adding a password to existing PDF

Post by HowardJBrown » Wed Apr 16, 2008 4:58 am

Can the PXC_EnableSecurity function be used to add a password to an existing PDF that has been opened or will it only work the PXC_NewDocument function?

Lzcat - Tracker Supp
Site Admin
Posts: 711
Joined: Thu Jun 28, 2007 8:42 am

Post by Lzcat - Tracker Supp » Wed Apr 16, 2008 6:25 am

You should use the PXCp_EnableSecurity function (yes, it is from another library within the PDF-Tools SDK, which operates with existing PDF files - xcpro35.dll).

The basic rules are : the pxclib30 library is for use with all new PDF file creation functionality and the xcpro35 library deals with functionality relating to existing PDF files.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

HowardJBrown
User
Posts: 11
Joined: Wed Apr 16, 2008 3:58 am

Post by HowardJBrown » Wed Apr 16, 2008 12:09 pm

Thank you for the clarification. That helps a lot.

John - Tracker Supp
Site Admin
Posts: 8201
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Wed Apr 16, 2008 4:45 pm

Pleasure ;)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply