Maptitude GISDK Help |
Determines whether a layer is hidden in the current map due to autoscaling.
state = GetLayerAutoscale(string layer_name)
Argument |
Contents |
layer_name |
The name of the layer |
A string specifying the state of the layer:
Value |
Meaning |
None |
No autoscaling is set for the layer |
On |
Autoscaling is set for the layer and the layer is visible at the scale of the current map |
Off |
Autoscaling is set for the layer and the layer is not visible at the scale of the current map |
state = GetLayerAutoscale("Counties")
if state = "Off" then ShowMessage("Counties are currently autoscaled off.")
Error Type |
Meaning |
NotFound |
The specified layer does not exist |
Function |
Summary |
Gets the range of scales at which a layer displays (autoscale) |
|
Gets the autoscale flag for a layer |
|
Gets the range of scales at which a selection set displays (autoscale) |
|
Gets the scale of a map |
|
Sets the range of scales at which a layer displays (autoscale) |
|
Sets the autoscale flag for a layer |
|
Sets the range of scales at which a selection set displays (autoscale) |
|
Sets the scale of a map |
©2025 Caliper Corporation | www.caliper.com |