Method TryGetLabelEntryFromInstanceId
TryGetLabelEntryFromInstanceId(int, out LabelEntry)
Attempts to find the label id for the given instance id using the LabelingConfiguration passed into the constructor.
Declaration
public bool TryGetLabelEntryFromInstanceId(int instanceId, out LabelEntry labelEntry)
Parameters
Type | Name | Description |
---|---|---|
int | instanceId | The instanceId of the object for which the labelId should be found |
LabelEntry | labelEntry | The LabelEntry associated with the object. default if not found |
Returns
Type | Description |
---|---|
bool | True if a labelId is found for the given instanceId. |