Maptitude GISDK Help

SetSetScale()

Summary

Sets the range of Scales at which a selection set displays (autoscale).

 

Syntax

SetSetScale(string set, double min_scale, double max_scale)

 

Argument

Contents

set

The name of the selection set

min_scale

The minimum scale at which the layer displays

max_scale

The maximum scale at which the layer displays

 

Notes

Example

// Set manhole cover points selection set to display only between 1:1000 and 1:200,000

SetSetScale("Manholes", 1000, 200000)

 

// Set zones selection set to display at any scale

SetSetScale("Zones", null, null)

 

Error Codes

Error Type

Meaning

NotFound

The specified selection set does not exist

 

See Also

Function

Summary

GetLayerAutoscale()

Determines whether a layer is hidden in the current map due to autoscaling

GetLayerScale()

Gets the range of scales at which a layer displays (autoscale)

GetSetScale()

Sets the range of scales at which a selection set displays (autoscale)

SetLayerScale()

Sets the range of scales at which a layer displays (autoscale)

SetScale()

Sets the scale of a map

 

 

©2025 Caliper Corporation www.caliper.com