TX Text Control Blog

Getting the text of a specific page without the Selection class

Blogged by Björn Meyer on April 24, 2007 and tagged with samples, .net.

Page Bounds

Sometimes, it is necessary to retrieve the text at a specific position, without previously selecting it - this avoids flickering and cursor displacement.

I just prepared a sample application that calculates the page bounds to extract the text using the TextChar collection.

Please take a look at the TX Text Control Source Code library to read the full article and download the sample code:

Getting the text of a specific page without the Selection class