PDeleteLayer

Delete a layer and move its objects to another layer, or delete a layer and its objects altogether.

This command is new in PageMaker 6.5


Command constructors

This class has two constructors, depending on whether you wish to delete or move the objects in the layer being deleted.

PDeleteLayer(const char * sFromLayer);

const char * sFromLayer;
Name of the layer to be deleted. All objects on that layer will be deleted
PDeleteLayer(const char * sFromLayer, const char * sToLayer);
const char * sFromLayer;
Name of the layer to be deleted
const char * sToLayer;
Name of layer to move objects to
Example. The following example removes the layer, "Notes"and all of its contents.

PDeleteLayer("Notes");


See also

The PAssignLayer, PDeleteUnusedLayers, PLayerOptions, PLockLayers, PMoveLayer, PNewLayer, PPasteRemembers, PSelectLayer, 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