Selected text offset

Selected text offset

Forum member · Oct 15, 2009
Hi, Is it possible to get a location information for currently selected text? (such as, character offset or xy-coordinates)? What I mean by "character offset" is the character count from the beginning of the page up to the selected text. I know that there's a method to get the selected text "GetSelectedText()", which returns String, but I need to find out the location of the selected text so that I can reproduce the selection later. Please help.

Re: Selected text offset

Support · Oct 15, 2009
Hello, It is not possible to get the X and Y coordinate of the selected text as well as the character count of the number of characters that have been selected. However you can use the GetSelectedText method that returns the String and then get the length of the String object. Thanks, ceTe Software Support Team

Re: Selected text offset

Forum member · Oct 15, 2009
Thanks for your reply. Do you have plan to implement this feature in your future releases? Your tool and API are great but we would not be able to use it since that's one of the key features that we need in our application. Thanks.

Re: Selected text offset

Support · Oct 15, 2009
Hello, We do not have any immediate plans to add this functionality. We will surely add this feature request on our wish list and pass it on to the developers for consideration to be added to a future version of our product. Thanks, ceTe Software Support Team

Re: Selected text offset

Forum member · Oct 15, 2009
Thanks!