Page Members (Publisher)

Represents a page in a publication. The Pages collection contains all the Page objects in a publication.

Methods

Name

Description

Delete

Deletes the specified object.

Duplicate

Creates a duplicate of the specified Page object and then returns the new Page object.

ExportEmailHTML

Exports the active page of the publication as an HTML file.

Move

Moves the specified page to the specified index in the Pages collection.

SaveAsPicture

Saves a page as a picture file.

Properties

Name

Description

Application

Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.

Background

Sets or returns a PageBackground object representing the background of the specified page.

Footer

Returns a HeaderFooter object representing the footer of the specified Page object. Read-only.

Header

Returns a HeaderFooter object representing the header of the specified Page object. Read-only.

Height

Returns a Long that represent the height (in points) of a cell, range of cells, or page. Read-only.

IgnoreMaster

True for Microsoft Publisher to ignore the master page formatting for the specified page. Read/write Boolean.

IsLeading

True if the specified Page object is a leading page of a two-page spread. Read-only Boolean.

IsTrailing

True if the specified Page object is a trailing page of a two-page spread. Read-only Boolean.

IsTwoPageMaster

True if the specified Page object is a two-page master. Read/write Boolean.

IsWizardPage

Returns True if the specified page is a Microsoft Publisher wizard page. Read-only Boolean.

LayoutGuides

Returns a LayoutGuides object consisting of the margin and grid layout guides for all pages including master pages in the publication.

Master

Sets or returns a Page object that represents the master page properties for the specified page.

Name

Returns or sets a String value indicating the name of the specified object. Read/write.

PageID

Returns a Long indicating the unique identifier for a page in a publication. Read-only.

PageIndex

Gets the index of the page in the Pages collection of the active document. Read-only.

PageNumber

Returns a String that represents the current page number. Read-only.

PageType

Returns a PbPageType constant that represents the page type. Read-only.

Parent

Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.

ReaderSpread

Returns a ReaderSpread object that represents the reader spread of the specified page.

RulerGuides

Returns a RulerGuides collection that represents gridlines used to align objects on a page.

Shapes

Returns a Shapes collection that represents all the Shape objects in the specified publication. This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.

Tags

Returns a Tags collection representing tags or custom properties applied to a shape, shape range, page, or publication.

WebPageOptions

Returns a WebPageOptions object, which represents the properties of a single Web page within a Web publication. Read-only.

Width

Returns a Long that represent the width (in points) of a cell, range of cells, or page. Read-only.

Wizard

Returns a Wizard object representing the publication design associated with the specified publication or the wizard associated with the specified Design Gallery object.

XOffsetWithinReaderSpread

Returns a Single that represents the distance (in points) from the left edge of the reader spread to the left edge of the page. Read-only.

YOffsetWithinReaderSpread

Returns a Single that represents the distance (in points) from the top edge of the reader spread to the top edge of the page. Read-only.