PXCp_GetPermissions level

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 or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

PXCp_GetPermissions level

Post by docu-track99 »

Hi Support,

I'm trying to get the permissions on printing and just wondering if level 128 is correct? See code below. We couldn't find any documentation on this.


XCPro40_Defs.PXCp_GetPermissions(nSelectedDocument, 128, XCPro40_Defs.PXC_SecurityPermissions.Permit_Printing)


Thank you,
Doc.It
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PXCp_GetPermissions level

Post by Tracker Supp-Stefan »

Hello docu-track99,

The 128 value is likely the enclevel - the documentation for this SDK states that possible values are 40 and 128 (40 or 128 bit encryption) on page 327 of this file:
https://downloads.pdf-xchange.com/PDF-ToolsV4SDK.pdf

The permission flags are explained on page 337 of the above manual.

Kind regards,
Stefan
Post Reply