IN_GetActiveLayer

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

The IN_GetActiveLayer function returns the identifiers of the active raster and edit layer on the specified page. 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_GetActiveLayer( docwinID, pageID, pActiveRaster, pActiveEdit )

Input Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active window | specific

IN_PAGE pageID

0 | pageID

current page | specific

Output Parameters

Values

Meaning

IN_LAYER_PTR pActiveRaster

0

rasterID

none

active raster layer's identifier

IN_LAYER_PTR pActiveEdit

0

editID

none

active edit layer's identifier

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

Placing vector objects

Overview: Improving raster images