![]() |
![]() |
PSendToPage(short nPageNumber, const char * sMasterName);
Select text with pointer tool. Text that is selected with the text tool or the PTextSelect command cannot be sent to another page. The text block must be selected with the pointer tool before using PSendToPage.short nPageNumber;
Number of the page to which the selected objects are to be copied
kPageLeftMaster for left master page
kPageRightMaster for right master page
kPageNext for next page
kPagePrevious for previous pageconst char * sMasterName;
Name of master to switch to if nPage is kPageLeftMaster or kPageRightMaster
Multipage stories stay threaded. Stories that span more than one page remain threaded to each other.
Page position maintained. Unlike PCut and PPaste, which pastes the objects in the center of the window, PSendToPage maintains the positions of objects on the page. Be aware that it does not adjust the positions to accommodate double-sided pages with inside and outside margins that are not the same.
Double-sided, facing pages. Either turn Facing Pages off temporarily before you use PSendToPage or send objects only from a right page to another right page and from a left page to another left page. PageMaker places objects according to their original coordinates in a two page spread. Unless you turn off Facing Pages, objects sent from the left page of a two-page spread are placed on the left page of the receiving spread (or on the pasteboard if you try to send the left-page objects to page one).
Sending to master pages. If you set nPageNumber to the left or right master page but do not specify a master page, the PSendToPage command switches to the left or right page of Document Master.
If the master page is a single-page master, you can set nPageNumber to either the left or right master.
Layout view only. Use the PSendToPage command only in layout view.
Example. The following example switches to the left page of the Document Master, selects everything on the page, and sends the selected objects to page 5. It selects the object in the top-left corner and sends the object to the right page of the Document Master.
PPage(-3, "Document Master");
PSelectAll();
PSendToPage 5);
PSelect(1);
PSendToPage(-4, "Document Master");
Adobe PageMaker 6.5 Help > Commands > Edit > Cut
Adobe PageMaker 6.5 Help > Commands > Edit > Paste
Comments or suggestions? Contact Adobe Developer Support