WebPageOptions Property

Microsoft Publisher Visual Basic

WebPageOptions Property

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

expression.WebPageOptions

expression    Required. An expression that returns a Page object.

Example

The following example sets the description and the background sound for the fourth page of the active Web publication.

With ActiveDocument.Pages(4).WebPageOptions
    .Description = "Company Profile"
    .BackgroundSound = "C:\CompanySounds\corporate_jingle.wav"
End With