I can toggle the KeepToolSelected, but how can I call the viewer what the value is of KeepToolSelected
And when KeepToolSelected is off, it automaticly switches to the hand tool, but i want that it switch to the textselector tools. How can i perform this?
How to get the value KeepToolSelected
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to get the value KeepToolSelected
Possibility for get/set value of 'KeepSelected' property for each commenting tool will be added (and described in the ActiveX SDK Help) into the next build.
It will be represented as:
GetProperty("Tools.Line.KeepSelected", val, 0);
SetProperty("Tools.TypeWriter.KeepSelected", val, 0);
and possibility for get/set default commenting tool as:
GetProperty("Tools.DefaultTool", val, 0);
SetProperty("Tools.DefaultTool", "Select", 0); // text selector tool
It will be represented as:
GetProperty("Tools.Line.KeepSelected", val, 0);
SetProperty("Tools.TypeWriter.KeepSelected", val, 0);
and possibility for get/set default commenting tool as:
GetProperty("Tools.DefaultTool", val, 0);
SetProperty("Tools.DefaultTool", "Select", 0); // text selector tool
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: How to get the value KeepToolSelected
Is it possible that when KeepToolSelected is set to false, that the previous selected tool will be selected, instead of the handtool, what now is?
Or do you have another option?
Or do you have another option?
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to get the value KeepToolSelected
You can use for this:
GetProperty("Tools.Line.KeepSelected", val, 0);
GetProperty("Tools.Arrow.KeepSelected", val, 0);
GetProperty("Tools.Rect.KeepSelected", val, 0);
GetProperty("Tools.Oval.KeepSelected", val, 0);
...
For more information see our AX help, section "Reference\Named Items\Named Objects\Tools".
GetProperty("Tools.Line.KeepSelected", val, 0);
GetProperty("Tools.Arrow.KeepSelected", val, 0);
GetProperty("Tools.Rect.KeepSelected", val, 0);
GetProperty("Tools.Oval.KeepSelected", val, 0);
...
For more information see our AX help, section "Reference\Named Items\Named Objects\Tools".
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 22
- Joined: Thu Apr 02, 2009 9:55 am
Re: How to get the value KeepToolSelected
SetProperty("Tools.DefaultTool", "Select", 0);
does not work in the new release either.
does not work in the new release either.
-
- User
- Posts: 22
- Joined: Thu Apr 02, 2009 9:55 am
Re: How to get the value KeepToolSelected
I mean SetProperty("Tools.Default", "Select", 0); , not "DefaultTool"
After that the default tool is apparently set, you can see it by getting it with GetProperty, but despite of it the hand is shown and not the select tool.
After that the default tool is apparently set, you can see it by getting it with GetProperty, but despite of it the hand is shown and not the select tool.
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to get the value KeepToolSelected
Sorry, but this property is not supported yet.anti_g wrote:SetProperty("Tools.Default", "Select", 0);