TextT.getNSelections

Gets the number of selected regions.

template TextT()
override
int
getNSelections
()

Return Value

Type: int

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