| Maptitude GISDK Help |
Controls the portion of a layout that is displayed in a layout window.
SetVisibleRectangle(string layout_name, real x, real y, real w, real h)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout, or null for the current layout |
| x | The position of the left edge |
| y | The position of the top edge |
| w | The width of the rectangle |
| h | The height of the rectangle |
Use SetVisibleRectangle() with ClickRect() to let users zoom in on the layout window.
All measurements are in page units.
SetVisibleRectangle(null, 0, 0, 8.5, 11.0)
| Error Type | Meaning |
|---|---|
| NotFound | There is no layout with the specified name, or layout_name is null and there is no layout window |
| Function | Summary |
|---|---|
| CenterLayout() | Centers a layout at a specific point |
| SetLayoutPrevious() | Changes the layout window to display at the scale that was in effect before the most recent change |
| ©2025 Caliper Corporation | www.caliper.com |