PSelectLayer

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

This command is new 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


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support