IN_SetActiveLayer

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

The IN_SetActiveLayer function activates or deactivates a layer. Certain transactions apply to active layers only. For example, vector objects can only be placed or modified on active edit layers. Raster operations such as IN_Deskew, IN_DespeckleEx, and IN_ChangeRaster apply only to active raster layers.

Syntax

int IN_SetActiveLayer( docwinID, layerID, bIsActive )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

IN_LAYER layerID

identifier of the layer to activate or deactivate

IN_BOOL bIsActive

FALSE | TRUE

deactivate | activate

Remarks

One edit layer and one raster layer on each page can be active at one time.

Release information

Added to Imagenation for Windows in Release 4.10.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Defining tools