hasSelectedText Method

Summary

Checks whether the specified page or all pages in the document have text that is currently selected.

Syntax

JavaScript Syntax
DocumentViewerText.prototype.hasSelectedText = function(pageNumber) 
TypeScript Syntax
hasSelectedText(pageNumber: number): boolean; 

Parameters

pageNumber

Page number to use. If this value is 0, then the text of all pages in the document will be used.

Return Value

true if the page or document specified has text that is currently selected; otherwise, false.

Remarks

If the text of the specified page(s) was not previously obtained, then this method will return false.

Example

For an example, refer to SelectText.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly