Document permissions

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Document permissions

Post by anovy »

Hi,
How I can get document permissions?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Document permissions

Post by Stefan - PDF-XChange »

Hi anovy,

I don't know if that's possible only with the Viewer SDKs (checking now), but in the Tools SDK there is PXCp_GetPermissions :D

Best,
Stefan
anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Document permissions

Post by anovy »

I need to know permissions of an opened document via ActiveX SDK.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Document permissions

Post by Vasyl - PDF-XChange »

Hi, anovy.

In the new build you will be able to use the:

ax.DoDocumentVerb(docID, NULL, "IsOperationGranted"), dataIn(obj, oper), &dataOut, 0);
- see updated SDK-Help, section [Reference/Named Items/Objects/Documents/Item/Methods/IsOperationGranted].

Cheers.
PDF-XChange Co. LTD (Project Developer)

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