Maptitude GISDK Help |
Prints all or part of a layout window.
Draft parameter added to Version 2012.
PrintLayout(integer start_page, integer end_page [, draft])
Argument |
Contents |
start_page |
The first page to be printed |
end_page |
The final page to be printed |
draft |
If "True" do not convert the map to a bitmap; the default is "False" |
The parameter draft is an optional argument.
PrintLayout() always prints the current layout window.
Use GetLayoutPages() to determine the number of pages in the layout.
A draft parameter of "True" lets the printer render various drawing elements the best it can. This may not always match what appears on your screen. For instance, many printers have problems rendering correctly transparent area fills or the halo effects on text.
When the draft parameter is "False," Maptitude renders the contents into a bitmap and feeds the image to the printer. This can be significantly slower that printing in Draft mode, but it produces much more consistent details on many hard-to-render features.
PrintLayout(1, 4)
Error Type |
Meaning |
Escape |
User cancelled the print job |
Error |
There is no current layout window |
Function |
Summary |
Prints a figure as shown in the figure window |
|
Prints a map as shown in the map window |
|
Prints all or part of an editor window |
|
Gets the number of printed pages in a layout |
©2025 Caliper Corporation | www.caliper.com |