PageSetup 对象 (发布服务器)PageSetup object (Publisher)

包含关于出版物页面设置的信息。Contains information about the page setup for the pages in a publication.


使用**PageSetup** 属性可返回PageSetup对象。Use the Document.PageSetup property to return the PageSetup object.


下面的示例设置为 8.5 英寸宽、 11 英寸高当前出版物中所有页面。The following example sets all pages in the active publication to be 8.5 inches wide and 11 inches high.

Sub SetPageSetupOptions() 
 With ActiveDocument.PageSetup 
 .PageHeight = 11 * 72 
 .PageWidth = 8.5 * 72 
 End With 
End Sub


另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.