Label.labelId Method

Returns the number included in a specified label ID.

Syntax

public int labelId(str label)

Run On

Called

Parameters

  • label
    Type: str
    A string data type that specifies the label ID. The string must include the at sign (@) followed by a label file ID and a number.

Return Value

Type: int
An integer data type value that indicates the number included in a label ID.

Remarks

You must call the searchFirst or searchNext method, and then pass the return value as a parameter to labelId.

See Also

Reference

Label Class