Scale for Layer
Summary
Displays the Autoscale dialog box to set the autoscaling for a layer, and updates the autoscaling if the user makes a change.
Syntax
return_value = RunMacro("G40 Scale for Layer", string layer)
| Argument | Contents |
|---|---|
| layer | The name of the layer, or null for the current layer |
Returns
True if OK was clicked and one or both scales are changed, False if Cancel was clicked or neither scale was changed.
Notes
Maptitude redraws the map if any changes to the autoscaling would affect the display of the map.
The current window must be a map window, and there must be at least one layer in the map.
The dbox "G30 Scale for Layer" is still available for backward capability.