←Select platform
In This Topic ▼

DocumentViewerText Class Members

Summary

The following tables list the members exposed by DocumentViewerText.

Public Methods

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

Protected Methods

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

Public Properties

Name Description
Public Property AutoGetText Indicates whether this DocumentViewerText should parse the text of the pages automatically when needed.
Public Property CharacterKeyModifier Modifier key to use to select individual characters in the page without their words or lines.
Public Property DocumentViewer Owner document viewer.
Public Property static  | Shared in VB FoundTextBrush The brush used to highlight the results from previous calls to DocumentViewerText.Find.
Public Property HasAnySelectedText Indicates whether any pages in the document have selected text.
Public Property LastFindText The last DocumentViewerFindText options object used in a completed Find.
Public Property LineKeyModifier Modifier key to use for selecting the whole line when any of its characters is selected.
Public Property LineSelectionMode Controls how the viewer treats soft line breaks found in the text.
Public Property RenderSelection Indicates whether selected text should be automatically rendered on the view.
Public Property static  | Shared in VB SelectedBrush The brush used to highlight the currently selected text.
Public Property SelectedTextBegin The beginning position of any selected text in the document.
Public Property SelectedTextEnd The ending position of any selected text in the document.
Public Property WordKeyModifier Modifier key to use for selecting the whole word when any of its characters is selected.

See Also

Reference

DocumentViewerText Class

Leadtools.Document.Viewer Namespace

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.