how to block the selection when using the free hand pencil?

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

hbouzagl
User
Posts: 35
Joined: Mon Oct 18, 2010 9:58 pm

how to block the selection when using the free hand pencil?

Post by hbouzagl »

Hi,
I want to deactivate the selection of what I just draw with the freehand pencil tool (if you click on the already drawn part to continue to draw, then you see the already drawn part selected and moved with the mouse).
I want to continue to draw with the freehand tool without the ability to select anything....

Regards
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: how to block the selection when using the free hand pencil?

Post by Stefan - PDF-XChange »

Hello hbouzagl,

Simply press the Shift Key, and you would be able to start a new pencil line without selecting any existing.

Best,
Stefan
hbouzagl
User
Posts: 35
Joined: Mon Oct 18, 2010 9:58 pm

Re: how to block the selection when using the free hand pencil?

Post by hbouzagl »

Hi,
I have tested it on a standard PC with keyboard but it's impossible to my customer to do this because we do not have access to a keyboard but only a digital screen with Pen...
Is it possible to enable this without pressing the shift key?
It's really a very big issue for me and If I do not found the way to solve it then I loose my customer (it's one the biggest that I have !!!)

Regards
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: how to block the selection when using the free hand pencil?

Post by Stefan - PDF-XChange »

Hello hbouzagl,

I would suggest that we continue the discussion in the other topic as the ticket I made and the comments from the devs would be posted there.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: how to block the selection when using the free hand pencil?

Post by Vasyl - PDF-XChange »

Hi, hbouzagl.
Is it possible to enable this without pressing the shift key?
You may use undocumented property(s):
ctrl.SetProperty("Commenting.ExclusiveTools", 1, 0);
// - after this the user cannot be select the existing annotation by mouse when any commenting tool is active and SHIFT key is not pressed
ctrl.SetProperty("Commenting.ExclusiveNonCommTools", 1, 0);
// - optionally, after this the user cannot be select the existing annotation by mouse when any non-commenting tool (hand, text selection, snapshot, zoom in/out tools) is active and SHIFT key is not pressed.

Call it before any document opening..

HTH.
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.
sunbun
User
Posts: 13
Joined: Sat Nov 27, 2010 1:01 pm

Re: how to block the selection when using the free hand pencil?

Post by sunbun »

where shall i "call" these instructions?
somewhere in the viewer before opening a document? starting the viewer in the console and there writing these instructions?
please explain a little bit.
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: how to block the selection when using the free hand pencil?

Post by John - Tracker Supp »

The answer is already in thre previous answer from Vasyl :
Call it before any document opening..
Have you tried ?
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
sunbun
User
Posts: 13
Joined: Sat Nov 27, 2010 1:01 pm

Re: how to block the selection when using the free hand pencil?

Post by sunbun »

what do you mean with "call it"?
where should i type in this:
Vasyl-Tracker Dev Team wrote:ctrl.SetProperty("Commenting.ExclusiveTools", 1, 0);
english is not my mothertongue so i do not understand what you mean just with "call it" in connection with this ctrl...-instruction.
so please explain with a few additional words!
hbouzagl
User
Posts: 35
Joined: Mon Oct 18, 2010 9:58 pm

Re: how to block the selection when using the free hand pencil?

Post by hbouzagl »

Hi,
for me, I have tried it and it work as I want and solved this problem.
Regards
sunbun
User
Posts: 13
Joined: Sat Nov 27, 2010 1:01 pm

Re: how to block the selection when using the free hand pencil?

Post by sunbun »

And where do you type that in?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: how to block the selection when using the free hand pencil?

Post by Stefan - PDF-XChange »

Hello sunbun,

hbouzagl is a developer using our SDK products - at first I suggested that we merge the two discussion you and him opened at the same time, as if there was a problem, the solution would have most certainly worked for both of you.

The answer Vasyl gave is for the developer only.

You will need to open the Viewer, and go to Edit -> Preferences -> Commenting, and enable the two Exclusive modes options available there.

Best,
Stefan
sunbun
User
Posts: 13
Joined: Sat Nov 27, 2010 1:01 pm

Re: how to block the selection when using the free hand pencil?

Post by sunbun »

Thanks, now it makes sense :)

Unfortunately the exclusive mode does not work. I tried it about 20 times, in every possible combination.
And as i told in the other topic my problem occurs not when i already have written something and want to continue it.
My problem is that it is not even possible to start writing, as most of the words begin with a vertical line, but the viewer only accepts a beginning with a horizontal line. and as you can imagine it is impossible to write natural and fast that way.

I am very disappointed that it now seems as I have spend the money for nothing. I mean, the whole software is very versatile and has so many features - but I mainly need the handwriting-feature of the viewer. As Paul O'Rorke told in the other topic there is no other solution currently available and therefore I have to buy now the other software that works with my hardware.

Thanx for the answers and please let me know as soon as there is maybe a new solution available, but I am afraid it will be too late...
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7371
Joined: Wed Mar 25, 2009 10:37 pm

Re: how to block the selection when using the free hand pencil?

Post by Paul - PDF-XChange »

Hi sunbun,

do not give up all hope yet. We are constantly working on improving PDF-XChange Viewer and while the work on the next major version has reached a stage where new features or work items cannot be added for the initial release, we will continue to work on improving the interface for tablet input in subsequent releases.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com