Getting layer information

 

An application can request the numbers and identifiers assigned to a layer or layers, as well as information on the layer itself. To do so, use the following transactions.

To request

Use

The number of layers in a page, or the number of CAD layers in an edit layer

GetNumberLayers

The number of layers in a page and their identifiers, or the number of CAD layers in an edit layer and their identifiers

GetLayerIDs

The identifier of the active edit layer and active raster layer on a page

GetActiveLayer

Layer type, raster and header format, the number of colors (for rasters), image size and resolution, number of tiles (raster) or number of objects (edit), page number (if relevant), and header rotation (if any)

GetLayerInfo

Layer type (only)

GetLayerFormat

See also