Maptitude GISDK Help

EditorPrintSetup()

Summary

Displays an extended version of the "Print" common dialog, with controls for setting up the printing format for an editor.

 

Syntax

result = EditorPrintSetup(integer across_first, string title, array options)

 

Argument

Contents

across_first

1 or 0 to indicate the current preference. If 1, the Across, then Down radio button will be enabled, if 0, the Down, then Across radio button will be enabled

title

Optional title; null defaults to "Print Dataview"

 

Option

Type

Contents

Header Callback

String

Name of header callback macro

Footer Callback

String

Name of footer callback macro

 

Returns

Null, if the user cancelled, or an array of print job setup information as follows:

 

Element

Type

Contents

1

Integer

First page to print

2

Integer

Last page to print

3

Array

Options array as described below

 

Option

Type

Contents

Direction

String

"Across" or "Down"

Header Text

String

The text in the header

Header Font

String

The font for the header

Footer Text

String

The text in the footer

Footer Font

String

The font for the footer

 

Notes

Example

result = EditorPrintSetup(across_1st_state, , )

//return value is null if user cancelled

if options = null then Return()

PrintEditor(result[1], result[2], result[3])

 

See Also

Function

Summary

FigurePrintSetup()

Displays the "Print" common dialog

LayoutPrintSetup()

Collects print settings for a layout window

MapPrintSetup()

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 fixed point size or adjusted to match the map window

 

 

©2025 Caliper Corporation www.caliper.com