←Select platform

DocumentViewerText Class Members

Summary

The following tables list the members exposed by DocumentViewerText.

Public Methods

Name Description
ClearLastFindText Clears the last find text operation results.
ClearRenderedFoundText Clears the internal list of rendered results from previous calls to Find.
ClearSelection Clears the text selection in the specified page or the whole document.
Copy Copies the selected text to the clipboard
ExportText Text of a page or the whole document as a simple string object.
Find Searches the pages of a document to find matches to provided text options.
GetAllDocumentPageText DocumentPageText objects for all the pages in the document.
GetDocumentPageText DocumentPageText object of a page.
GetPageTextItems Extract a DocumentViewerMultiLineTextItem between two positions.
GetSelectedText Selected text of a page or all pages in the document as a simple string object.
GetSelectedTextItems Selected text of a page as a list of DocumentViewerTextItem.
HasAnyDocumentPageText Indicates whether the text for all the pages have been obtained.
HasDocumentPageText Indicates whether the text for the specified page have been obtained.
HasSelectedText Checks whether the specified page or all pages in the document have text that is currently selected.
SelectAll Selects all the text in the specified page or the whole document.
SelectText Selects the text that intersect with a specified area.
SetDocumentPageText Sets the text for a page.
SetSelectedTextItems Replaces the selected text items for a page.

Protected Methods

Name Description
Dispose Releases all resources used by this class.
Finalize This method overrides System.Object.Finalize

Public Properties

Name Description
AutoGetText Indicates whether this DocumentViewerText should parse the text of the pages automatically when needed.
CharacterKeyModifier Modifier key to use to select individual characters in the page without their words or lines.
DocumentViewer Owner document viewer.
FoundTextBrush The brush used to highlight the results from previous calls to DocumentViewerText.Find.
HasAnySelectedText Indicates whether any pages in the document have selected text.
LastFindText The last DocumentViewerFindText options object used in a completed Find.
LineKeyModifier Modifier key to use for selecting the whole line when any of its characters is selected.
LineSelectionMode Controls how the viewer treats soft line breaks found in the text.
RenderSelection Indicates whether selected text should be automatically rendered on the view.
SelectedBrush The brush used to highlight the currently selected text.
SelectedTextBegin The beginning position of any selected text in the document.
SelectedTextEnd The ending position of any selected text in the document.
WordKeyModifier Modifier key to use for selecting the whole word when any of its characters is selected.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly