Maptitude GISDK Help

LayoutProperties()

Summary

Displays an extended version of the "Print Setup" common dialog, with controls for setting page dimensions and margins.

 

Syntax

props = LayoutProperties()

 

Returns

An array of information about the layout, as follows:

 

Element

Type

Contents

1

Integer

The width of the layout in printer pages

2

Integer

The height of the layout in printer pages

3

Array

Four integers: the top, left, bottom, and right margins, in user paper units

 

Notes

Example

result = LayoutProperties()

new_width = result[1]

new_height = result[2]

RunMacro("Set New Margins", result[3])

 

Error Codes

Error Type

Meaning

Error

No default printer, or printer not available

Escape

User canceled out of the common dialog

 

See Also

Function

Summary

LayoutPrintSetup()

Collects print settings for a layout window

PrintLayout()

Prints all or part of a layout window

SetLayoutPages()

Sets the number of printed pages in a layout

 

 

©2025 Caliper Corporation www.caliper.com