Share via


Page.Background Property

Publisher Developer Reference

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.

Visual Basic for Applications
  Dim objPageBackground As PageBackground
Set objPageBackground = ActiveDocument.Pages(1).Background
	

See Also