PDeleteMasterPage

Deletes the specified master page and sets None as the master page of any pages to which the deleted master had been applied.


Command constructor

PDeleteMasterPage(const char * sMasterPageName);
The name of an existing master page.
Document Master and None. You cannot delete the prenamed master pages, "Document Master" and "None".

Example. The following example deletes the master page named TOC.

PDeleteMasterPage("TOC");


See also

The PDefineMasterPage, PMasterPage, PRenameMasterPage, and PSaveAsMasterPage commands
The PGetMasterPage, PGetMasterPageInfo, and PGetMasterPageList queries

Adobe PageMaker 6.5 Help > Commands > Window > Master Pages



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

Comments or suggestions? Contact Adobe Developer Support