Page 1 of 1

PXCp_GetPermissions level

Posted: Tue Mar 09, 2021 11:00 pm
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

Re: PXCp_GetPermissions level

Posted: Wed Mar 10, 2021 1:14 pm
by Stefan - PDF-XChange
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