In This Topic ▼

DocumentViewerText Class Methods

Summary

For a list of all members of this type, see DocumentViewerText members

Public Methods

Name Description
Public Method clearLastFindText Clears the results from 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 dispose Destroys this object and removes it from the page.
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 the 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.

See Also

DocumentViewerText Class

Leadtools.Document.Viewer Namespace

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

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