TextIF.getNSelections

Gets the number of selected regions.

interface TextIF
int
getNSelections
()

Return Value

Type: int

The number of selected regions, or -1 in the case of failure.