/
getCurrentLabel

getCurrentLabel

Description

Retrieves the name of the current label. The current label is what a marker will be labeled if a manual labeling operation is performed.

Functional area

Data retrieval

Command syntax

Syntax

getCurrentLabel

Arguments

None

Flags

None

Return value

string

Returns a string with the same of the current label.

Examples

// Get the current label.
string $currentLabel = `getCurrentLabel`;
print $currentLabel ;