selectedTextEnd Property

Summary

The ending position of any selected text in the document.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewerText.prototype, 'selectedTextEnd', 
	get: function() 
) 
selectedTextEnd: DocumentViewerTextPosition; // read-only 

Property Value

A DocumentViewerTextPosition object indicating the end of selected text, or null if no text is selected.

Remarks

When HasAnySelectedText is true, SelectedTextEnd will contain the page number and character index of the last character in the document that is selected. SelectedTextBegin will contain the page number and character index of the first character in the document that is selected.

ClearSelection can be used to clear selected text on pages.

History

19.0.0.49
Added
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.