Page.Background property (Publisher)

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

Syntax

expression.Background

expression A variable that represents a Page object.

Return value

PageBackground

Remarks

This property is for publication pages only. Any attempt to create a background for a master page will return a "Permission denied" error.

Example

The following example creates a PageBackground object and sets it to the background of the first page of the active document.

Dim objPageBackground As PageBackground 
Set objPageBackground = ActiveDocument.Pages(1).Background 
 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.