| Maptitude GISDK Help |
Gets the scale of a layout window.
ratio = GetLayoutScale(string layout_name)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout, or null for the current layout |
A real number indicating the layout scale as a ratio of screen units to units on the output page.
// To zoom in, double the scale
curr_scale = GetLayoutScale("My Layout")
// This layout window is shown at twice the actual size SetLayoutScale("My Layout", 2.00 * curr_scale)
| Error Type | Meaning |
|---|---|
| NotFound | There is no layout of the given name, or layout_name is null and there is no layout window |
| Function | Summary |
|---|---|
| SetLayoutScale() | Sets the scale of a layout window |
| ©2025 Caliper Corporation | www.caliper.com |