|Publisher Developer Reference|
Version Added: Publisher 2007
expression A variable that represents a PageSetup object.
The blank page size represented by the PageSize object returned or set by the PageSize property corresponds to one of the icons displayed under Blank Page Sizes in the Page Setup dialog box in the Microsoft Office Publisher user interface.
The following Microsoft Visual Basic for Applications (VBA) macro shows how to set the blank page size for the current publication. The example sets the blank page size to "Index Card," which is the blank page size at index number 130 in the AvailablePageSizes collection. See the AvailablePageSizes property topic for an example of how to create a text file that contains the list of all page sizes available in the current publication and their corresponding index numbers.
|Visual Basic for Applications|