Commenting: Allowed

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

Commenting: Allowed

Post by khho »

Hello Support,

I got a document with the changed settings (Password security).

To enable/disable the buttons in my app I use e.g.

Code: Select all

var canRotate = pdfView.Doc.CoreDoc.RequestPermission(PXC_RequestObj.Perm_ObjPage, PXC_RequestOper.Perm_OperRotate, IntPtr.Zero);...
and it works fine with DOcument Permission Details 'Inserting, deleting and rotating pages : Changing Allowed'.
But when I got 'Commenting : Allowed': is there a fitting PXC_RequestOper to find out if I can enable all my buttons with "cmd.tool.annot..." behind?
If not, how

Thanks
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

Re: Commenting: Allowed

Post by khho »

Any idea?
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Commenting: Allowed

Post by Vasyl-Tracker Dev Team »

You may use the pair: Perm_ObjAnnot + Perm_OperCreate
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

Re: Commenting: Allowed

Post by khho »

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

Commenting: Allowed

Post by Tracker Supp-Stefan »

:)
Post Reply