IN_GetLayerIDs

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

The IN_GetLayerIDs function returns the number of layers or CAD layers on or in the specified page or layer, and a list of their identifiers.

Syntax

int IN_GetLayerIDs( pageID | layerID, maxLayerIDs, pLayerCount, pLayerIDs )

Input Parameters

Meaning

IN_PAGE pageID

identifier of the page to query

or

 

IN_LAYER layerID

identifier of the edit layer that contains CAD layers

SHORT maxLayerIDs

the maximum number of layers to return

Output Parameters

Meaning

SHORTPTR pLayerCount

pointer to the number of layers in the list (no more than maxLayerIDs)

IN_LAYER_PTR pLayerIDs

pointer to the list of layer identifiers

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