MapPrintSetup()

Summary

Displays an extended version of the "Print" common dialog, with check boxes to indicate whether to print at a fixed scale, and whether to print fonts at a fixed point size or at a size adjusted to match the map window.

>Changes

Draft option added to Version 2012.

Syntax

opts = MapPrintSetup(boolean fixed_pointsize_state, boolean fixed_scale_state [,boolean draft_state])

Argument Contents
fixed_pointsize_state "On" or "Off" to indicate current preference. If "On", corresponding checkbox will appear checked
fixed_scale_state "On" or "Off" to indicate current preference. If "On", corresponding checkbox will appear checked
draft_state "On" or "Off" to indicate current preference. If "On", corresponding checkbox will appear checked. The default is "Off."

Returns

An options array for the checkbox variables:

Element Type Contents
1 Boolean The state of the fixed point size option
2 Boolean The state of the fixed scale option
3 Boolean The state of the draft option

Notes

  • The draft_state argument is optional.

Example

options = MapPrintSetup(opt1, opt2)
//return value is null if user cancelled
if options = null then Return()
PrintMap(options)

See Also

Function Summary
EditorPrintSetup() Displays an extended version of the "Print" common dialog, with controls for setting up the printing format for an editor
FigurePrintSetup() Displays the "Print" common dialog
PrintMap() Prints a map as shown in the map window