![]() |
![]() |
Delete a layer and move its objects to another layer, or delete a layer and its objects altogether.
This command was introduced in PageMaker 6.5.
This class has two constructors, depending on whether you wish to delete or move the objects in the layer being deleted.
PDeleteLayer(const char * sNameFrom);
const char * sNameFrom;
Name of the layer to be deleted. All objects on that layer will be deleted
PDeleteLayer(const char * sNameFrom, const char * sNameTo);
const char * sNameFrom;
Name of the layer to be deleted
const char * sNameTo;
Name of layer to move objects to
Example. The following example removes the layer, "Notes" and all of its contents.
PDeleteLayer("Notes");
The PAssignLayer, PDeleteUnusedLayers, PLayerOptions, PLockLayers, PMoveLayer, PNewLayer, PPasteRemembers, PSelectLayer, 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 |