PSelectLayer

Selects the objects on the current page that are assigned to the specified layer.

This command was introduced in PageMaker 6.5.


Command constructor

PSelectLayer(const char * sLayerName, PMBool bExtend);
const char * sLayerName;
Name of the layer to select.
PMBool bExtend;
true add objects to the current selection list.
false deselect all objects first, then select layer.
Example. The following example selects the objects on "Layer 2".

PSelectLayer("Layer 2", true);


See also

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

The PGetLayerFromID, PGetLayerList, PGetLayerOptions, 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