Maptitude GISDK Help |
Displays an extended version of the "Print Setup" common dialog, with controls for setting page dimensions and margins.
props = LayoutProperties()
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 |
This function replaces LayoutPrintSetup(). The GISDK now uses all the common dialogs for printing. These dialogs are implemented in the Windows printer drivers. Printer settings no longer need to be maintained in GISDK variables in the interface.
Changes made through the common "Print Setup" dialog remain in effect and become the current settings for that printer in Maptitude. Thus, the returned values do not have to be set in GISDK to take effect.
result = LayoutProperties()
new_width = result[1]
new_height = result[2]
RunMacro("Set New Margins", result[3])
Error Type |
Meaning |
Error |
No default printer, or printer not available |
Escape |
User canceled out of the common dialog |
Function |
Summary |
Collects print settings for a layout window |
|
Prints all or part of a layout window |
|
Sets the number of printed pages in a layout |
©2025 Caliper Corporation | www.caliper.com |