Select text on multiple pages

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

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

Post Reply
Wolfgang Weh
User
Posts: 7
Joined: Fri Feb 27, 2015 12:57 pm

Select text on multiple pages

Post by Wolfgang Weh »

Good Day,

I'm evaluating PDF-XChange viewer to see if it meets my requirements.

One requirement is, that I must be able to select text programmatically, in the same was as you can select text manually.

If a user selects text on 2 or more pages, I get the notification, the selected text, the pages, start, length, etc...
That all works fine.

When I try to select text programmatically, I only found the "Select" method of the text object, which lets me select text on one page. That works nice for selecting text on 1 page. But I can't find a way to select text on multiple pages.
Is there another method?
Or some setting so that I can 'extend' selections?
Some other idea or workaround?

Many Thanks & Best Regards

Wolfgang
Wolfgang Weh
User
Posts: 7
Joined: Fri Feb 27, 2015 12:57 pm

Re: Select text on multiple pages

Post by Wolfgang Weh »

Good Day,

I found a reasonable workaround.
Create highlight annotations using the same color as the text selection, and delete the highlight annotations again when you start to select some different text, when you don't need it anymore. Not ideal, but works...

See also:
https://forum.pdf-xchange.com/ ... ion#p42797
https://forum.pdf-xchange.com/ ... ion#p76396

Best Regards

Wolfgang
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17908
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Select text on multiple pages

Post by Tracker Supp-Stefan »

Hi Wolfgang,

Glad you worked it out!

Regards,
Stefan
Post Reply