Leadtools.Documents.UI Namespace > DocumentViewerText Object : HasSelectedText Method |
function Leadtools.Documents.UI.DocumentViewerText.hasSelectedText( pageNumber )
Parameter | Type | Description |
---|---|---|
pageNumber | int | Page number to use. If this value is 0, then the text of all pages in the document will be used. |
Type | Description |
---|---|
boolean | true if the page or document specified has text that is currently selected; otherwise, false. |
If the text of the specified page(s) was not previously obtained, then this method will return false.
For an example, refer to SelectText.