ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.EnsureTextVisible
Declaration
procedure EnsureTextVisible(TextStart, TextLength: Integer);
Description
Ensures the specified text (of the current page) is visible on screen. If not, the
view is scrolled to show the text.
TextStart specifies the character index and TextLength specifies the character count.
Note: Only vertical scrolling is considered. The X position is ignored.
// Ensure the text "HEADING" is visible
ImageEnView1.PdfViewer.Find( 'HEADING' );
ImageEnView1.PdfViewer.FindNext( CharIndex, CharCount );
ImageEnView1.PdfViewer.EnsureTextVisible( CharIndex, CharCount );
See Also
◼SelectText◼Find◼FindNext