PGetLayerList

Get the name and options for each layer in the current publication.

 

This query was introduced in PageMaker 6.5.


Query results

This class is a subclass of PListQuery. The query returns a list of layer information. For each layer in the publication, it contains the following information.

const char * sLayerName;

The name of the layer.

PMBool bShow;

Whether the layer is visible (true) or hidden (false).

PMBool bLock;

Whether the layer is locked (true) or not (false).

short nColorIndex;

Color for object handles to indicate that the object is on this layer.
Predefined Color Color Index
Black 0
Red 1
Green 2
Blue 3
Yellow 4
Magenta 5
Cyan 6
Gray 7
Light Blue 8
Orange 9
Dark Green 10
Teal 11
Tan 12
Brown 13
Violet 14
Gold 15
Dark Blue 16
Pink 17
Lavender 18
Brick Red 19
Olive Green 20
Peach 21
Burgundy 22
Grace Green 23
Ochre 24
Purple 25
Light Gray 26
Other... pm_customcolorindex, "customcolorindex"

long lRed;

Red value for custom handle color.

long lGreen;

Green value for custom handle color.

long lBlue;

Blue value for custom handle color.


See also

The PAssignLayer, PDeleteLayer, PDeleteUnusedLayers, PLayerOptions, PLockLayers, PMoveLayer, PNewLayer, PPasteRemembers, PSelectLayer, PShowLayers, and PTargetLayer commands

The PGetLayerOptions, PGetLayerFromID, PGetPasteRemembers, and PGetTargetLayer queries


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions