Table of contents
TOC
Collapse the table of content
Expand the table of content

WebPageOptions Object (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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.

Remarks

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.

Example

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

Methods

Name
SetBackgroundSoundRepeat

Properties

Name
Application
BackgroundSound
BackgroundSoundLoopCount
BackgroundSoundLoopForever
Description
IncludePageOnNewWebNavigationBars
Keywords
Parent
PublishFileName
© 2018 Microsoft