PDeleteUnusedLayers

Deletes all the unused layers in a publication.

This command was introduced in PageMaker 6.5.


Command constructor

PDeleteUnusedLayers(PMBool bSkipUI);
false: the user is prompted before the layers are deleted.
true: the layers are deleted without a confirmation.
Example. This example deletes all of the unused layers without prompting for confirmation.

PDeleteUnusedLayers(true);


See also

The PAssignLayer, PDeleteLayer, 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