PMasterPage(const char * sLeftMaster, const char * sRightMaster = NULL, const char * sRange = NULL,
PMBool bKeepGuides = false, PMBool bKeepColumns = false, PMBool bAdjustLayout = false);
Specifying ranges. The value of sRange can be a single range (e.g., "1-10") or several ranges (e.g., "1-5, 8-10, 13-14"). Use commas to separate the ranges. A maximum of 64 characters is allowed. The range must be valid or PageMaker returns an error (e.g., you can't specify "1-14" for a 10-page publication).const char * sLeftMaster;
Name of master page to apply to left pages (or to single pages for single-sided publications)
Specify an empty string ("") to leave left page unchanged or if applying master to right page only.const char * sRightMaster;
Name of master page to apply to right pages
Specify an empty string ("") to leave right page unchanged or for single-sided publicationsconst char * sRange;
Range of pages to apply masters to (e.g., "1-5, 17-21, 44-49")
"all" to apply specified masters to all pages
Specify an empty string ("") to apply specified masters to the current page or pages.PMBool bKeepGuides;
true Pages to which no master page is applied ("None" is applied) keep ruler guides
false ruler guides are removedPMBool bKeepColumns;
true Pages to which no master page is applied ("None" is applied) keep their column settings
false column settings are removedPMBool bAdjustLayout;
true automatically adjust the page layout to the new master page
false do not adjust the page layout to the new master page
None and Document master. To apply None or Document master to a page, do not include the brackets that enclose the names in the menu. For example:
PMasterPage("None", "Document master", "5-10");
Example. The following example applies "Ad layout"to left pages and "Editorial" master to right pages, for the pages
from 1 to 100.
PMasterPage("Ad layout", "Editorial", "1-100");
The PGetMasterPage, PGetMasterPageInfo, and PGetMasterPageList queries
Adobe PageMaker 6.5 Help > Commands > Window > Master Pages
Comments or suggestions? Contact Adobe Developer Support