PGetLayerOptions

Gets the layer options for a layer specified by name.

This query was introduced in PageMaker 6.5.


Query constructor

PGetLayerOptions(const char * sLayerName);

Specify the name of a layer.

This query was introduced in PageMaker 6.5.


Query results

short bShow;

false for off
true for on

short bLock;

false for off
true for on

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 PGetLayerList, 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