Maptitude GISDK Help

GetPrintMargins()

Summary

Gets the current print margin settings.

 

Syntax

print_margins = GetPrintMargins()

 

Returns

An array of integers specifying the size of each margin, according to the table below:

 

Element

Type

Contents

1

Integer

The left margin

2

Integer

The top margin

3

Integer

The right margin

4

Integer

The bottom margin

 

Notes

Example

// These statements increase all the margins by 0.5 inches

mrgn = GetPrintMargins()

SetPrintMargins(mrgn[1] + 3600, mrgn[2] + 3600, mrgn[3] + 3600, mrgn[4] + 3600)

 

See Also

Function

Summary

SetPrintMargins()

Set the left, top, right, and bottom printing margin settings

 

 

©2025 Caliper Corporation www.caliper.com