IN_GetNumberLayers

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

The IN_GetNumberLayers function returns the number of layers on the specified page, or the number of CAD layers in the specified layer.

Syntax

int IN_GetNumberLayers( docwinID, pageID | layerID, pLayerCount )

Input Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

IN_PAGE pageID

0 | pageID

current | specific

or

 

 

IN_PAGE layerID

identifier of the edit layer that contains CAD layers

Output Parameters

Meaning

SHORTPTR pLayerCount

pointer to the number of layers

Release information

Added to Imagenation for Windows in Release 4.00.

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

Also supported in Imagenation 3.3 for UNIX.

See also

Getting layer information