TextT.getNSelections

Gets the number of selected regions.

template TextT(TStruct)
int
getNSelections
()

Return Value

Type: int

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

Meta