Maptitude GISDK Help |
Sets the status of whether labels can be drawn on top of point icons.
Added to Version 3.0.
SetLabelOverlapStatus(string lyr_set_name, string allows_overlap)
Argument |
Contents |
lyr_set_name |
The name of the layer and selection set |
allows_overlap |
"True" to prevent labels from overlapping the point icons, otherwise "False" |
// Open a map with at least one layer
lyr = GetLayer()
SetLabelOverlapStatus(lyr + "|", "True")
overlap_status = GetLabelOverlapStatus(lyr + "|")
ShowMessage("The overlap status is " + overlap_status)
Error Type |
Meaning |
NotFound |
The specified layer or selection set does not exist |
Function |
Summary |
Get the label option settings for a layer or selection set |
|
Gets the status of whether labels can be drawn on top of point icons |
|
Enables or disables labeling for a layer or selection set |
|
Changes the option settings for labels |
©2025 Caliper Corporation | www.caliper.com |