Maptitude GISDK Help |
Collects print settings for a layout window.
Optional draft_state argument added to Version 2012, and incorrect layout_name argument removed.
pages = LayoutPrintSetup([boolean draft_state])
Argument |
Contents |
draft_state |
The name of the layout |
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 |
The draft_state argument is optional.
LayoutPrintSetup() opens the common print dialog box, which does not allow a change of printers.
To change the printer or printer settings associated with a layout, use LayoutProperties().
Error Type |
Meaning |
NotFound |
No layout exists with the given name |
Function |
Summary |
Displays an extended version of the "Print Setup" common dialog, with controls for setting page dimensions and margins |
|
Prints all or part of a layout window |
©2025 Caliper Corporation | www.caliper.com |