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
PXCp_GetPermissions level
Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange
- Stefan - PDF-XChange
- Site Admin
- Posts: 19794
- Joined: Mon Jan 12, 2009 8:07 am
- Contact:
Re: PXCp_GetPermissions level
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
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