Maptitude GISDK Help

SetLayoutPages()

Summary

Sets the number of printed pages in a layout.

 

Syntax

SetLayoutPages(string layout_name, integer width, integer height)

 

Argument Contents
layout_name The name of the layout, or null for the current layout
width The width in pages
height The height in pages

 

Example

//Make the layout a single page...

SetLayoutPages("My Layout", 1, 1)

 

//Or make it 3 pages wide by 2 pages high...

SetLayoutPages("My Layout", 3, 2)

 

Error Codes

Error Type Meaning
NotFound The specified layout does not exist

 

See Also

Function Summary
GetLayoutPages() Gets the number of printed pages in a layout

 

 

©2025 Caliper Corporation www.caliper.com