Share via


WebPageOptions Object [Publisher 2003 VBA Language Reference]

Page
WebPageOptions

Represents the properties of a single Web page within a Web publication, including options for adding the title and description of the page, background sounds, in addition to other options. The WebPageOptions object is a member of the Page object.

Using the WebPageOptions Object

Use the WebPageOptions property on the Page object to return a WebPageOptions object. Use the Description property to set the description of a specified Web page. The following example sets the description for the second page of the active Web publication.

Dim theWPO As WebPageOptions

Set theWPO = ActiveDocument.Pages(2).WebPageOptions

With theWPO
    .Description = "Company Profile"
End With

Note that the WebPageOptions object is only available when the active publication is a Web publication. A run-time error is returned if trying to access this object from a print publication.

Properties | Application Property | BackgroundSound Property | BackgroundSoundLoopCount Property | BackgroundSoundLoopForever Property | Description Property | IncludePageOnNewWebNavigationBars Property | Keywords Property | Parent Property

Methods | SetBackgroundSoundRepeat Method

Parent Objects | Page Object

Child Objects