Maptitude GISDK Help

GetLayoutOptions()

Summary

Get the current option settings for a layout.

 

Syntax

options = GetLayoutOptions(string layout)

 

Argument Contents
Layout The name of the layout, or null for the current layout

 

Returns

The following list of options pairs (not in the order listed):

 

Option Type Contents
Cut Lines Boolean Whether to display page cut lines and page numbers on multiple page layouts
Grid Display Boolean Whether to display the grid
Grid Settings Array {string unit, integer resolution divisor, integer minor interval, integer major interval}. See notes below
Grid Snap Boolean Whether to snap new annotations to the grid
Rulers Boolean Whether to display rulers
Title String The layout title

 

Notes

Example

// Before running the example, open any layout.

options = GetLayoutOptions()

ShowArray(options)

 

Error Codes

Error Type Meaning
NotFound The specified layout does not exist

 

See Also

Function Summary
CreateLayout() Create a new layout window
OpenLayout() Creates a layout from a file
SetLayoutOptions() Changes the options for a layout

 

 

©2025 Caliper Corporation www.caliper.com