| Maptitude GISDK Help |
Gets the number of printed pages in a layout.
dims = GetLayoutPages(string layout_name)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout, or null for the current layout |
An array of two elements:
| Element | Type | Contents |
|---|---|---|
| 1 | Integer | The width in pages |
| 2 | Integer | The height in pages |
dim = GetLayoutPages("My Layout")
ShowMessage("The layout will print on " + String(dim[1] * dim[2]) + " pages.")
| Error Type | Meaning |
|---|---|
| NotFound | The specified layout does not exist |
| Function | Summary |
|---|---|
| SetLayoutPages() | Sets the number of printed pages in a layout |
| ©2025 Caliper Corporation | www.caliper.com |