IN_SetPrintMode

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

The SetPrintMode function sets which part of each page to print.

Syntax

int IN_SetPrintMode( PrintRange, writeToINI )

Parameters

Values

Meaning

int PrintRange

IN_PRINT_*

ACTIVE_EDIT (256)

ACTIVE_RASTER (128)

AS_DISPLAYED (36)

DISPLAYED_EDITS (1024)

DISPLAYED_RASTERS (512)

ENTIRE_PAGE (64)

DISPLAYED_LAYERS (32)

pointer to part of the page to print:

only the active edit layer

only the active raster layer

only what is displayed

current view

only displayed raster layers

all displayed and hidden layers

only displayed edit layers

IN_BOOL WriteToINI

0
1

don't write
write  See
Remarks.

 

Remarks

If the writeToINI parameter is set to 1, this function writes the values for the print options to the Page Range 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