![]() |
![]() |
PRemovePages(short nFirstPage, short nLastPage);
Master pages. To delete a master page, use the PDeleteMasterPage command.short nFirstPage;
The first number in the range of pages to removeshort nLastPage;
The last number in the range of pages to remove
Automatic text rethread. When a page or range of pages is deleted, PageMaker automatically rethreads text that comes before and after the deleted pages, and then renumbers the remaining pages.
No warning message. Unlike its menu counterpart, the PRemovePages command does not ask you to verify the action before deleting the pages.
Layout view only. The PRemovePages command works only in layout view.
Example. The following example deletes pages 3 and 4 and their contents from the open publication.
PRemovePages(3, 4);
The PGetPages query
Adobe PageMaker 6.5 Help > Commands > Layout > Remove Pages
Comments or suggestions? Contact Adobe Developer Support