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
Rad1
User
Posts: 108 Joined: Wed May 13, 2009 2:21 pm
Post
by Rad1 » Tue May 26, 2009 2:15 pm
Hi,
I can't disable or set offline this button :
ID : 33201
Name : CalloutTool
Adobe name : Annots:Tool:FreeTextCalloutMenuItem
I use the following code :
Code: Select all
PDFView.SetProperty("Commands[\"FreeTextCalloutMenuItem\"].State","Disabled")
or
PDFView.SetProperty("Commands[#33201].State","Disabled")
Vasyl - PDF-XChange
Site Admin
Posts: 2448 Joined: Thu Jun 30, 2005 4:11 pm
Post
by Vasyl - PDF-XChange » Wed May 27, 2009 12:02 pm
Please call:
Code: Select all
PDFView.SetProperty("Commands[\"CalloutTool\"].State","Offline");
or
PDFView.SetProperty("Commands[#33201].State","Offline");
-because "Disabled" state can be removed by controll in runtime.
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.