IN_SetPrintMargins

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_SetPrintMargins function sets the current margin values and the system units used for the printed document.

Syntax

int IN_SetPrintMargins( marginTop, marginBottom, marginLeft, marginRight, marginUnit, writeToINI )

Parameters

Meaning

DOUBLE marginTop

top margin

DOUBLE marginBottom

bottom margin

DOUBLE marginLeft

left margin

DOUBLE marginRight

right margin

SHORT marginUnit

units the margins are set in: inches or centimeters

IN_BOOL writeToINI

0 don't write
1 write  See
Remarks.

 

Remarks

If the writeToINI parameter is set to 1, this function writes the values for the margins to the Margins keyname in the [Print] section of the Image.ini file. For more information about the Imagenation INI file, refer to the System Administrator Help (sysadmin.hlp) that is installed with Imagenation.

Release information

Added to Imagenation for Windows in Release 7.1.

Not supported in Imagenation for UNIX.

See also

Defining print options