Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

Show in webframe

HasSelectedText Method






Page number to use. If this value is 0, then the text of all pages in the document will be used.
Checks whether the specified page or all pages in the document have text that is currently selected.
Syntax
public bool HasSelectedText( 
   int pageNumber
)
'Declaration
 
Public Function HasSelectedText( _
   ByVal pageNumber As Integer _
) As Boolean
'Usage
 
Dim instance As DocumentViewerText
Dim pageNumber As Integer
Dim value As Boolean
 
value = instance.HasSelectedText(pageNumber)
public:
bool HasSelectedText( 
   int pageNumber
) 

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

See Also

Reference

DocumentViewerText Class
DocumentViewerText Members

Error processing SSI file
Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features