Maptitude GISDK Help

LayoutPrintSetup()

Summary

Collects print settings for a layout window.

 

Changes

Optional draft_state argument added to Version 2012, and incorrect layout_name argument removed.

 

Syntax

pages = LayoutPrintSetup([boolean draft_state])

 

Argument

Contents

draft_state

The name of the layout

 

Returns

Null if the user clicks Cancel, otherwise an array that contains the beginning and ending pages of the layout to be printed, and the state of the draft option. When the layout spans a single sheet, the start page and end page both equal 1.

 

Element

Type

Contents

1

Integer

start page

2

Integer

end page

3

Boolean

The state of the draft option

 

Notes

Error Codes

Error Type

Meaning

NotFound

No layout exists with the given name

 

See Also

Function

Summary

LayoutProperties()

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

PrintLayout()

Prints all or part of a layout window

 

 

©2025 Caliper Corporation www.caliper.com