PDeleteUnusedLayers

Deletes all the unused layers in a publication.

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


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

Comments or suggestions? Contact Adobe Developer Support