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

PageBackground.Create Method (Publisher)

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

Creates a new PageBackground object for the specified Page object.


expression. Create

_expression_A variable that represents a PageBackground object.


Use PageBackground.Exists to test if a page already has a background before trying to create a new one. Returns a "Permission denied' error if a background already exists.


The following example tests for the existence of a background on the first page of the active document. If a background does not exist then one is created.

If ActiveDocument.Pages(1).Background.Exists = False Then 
End If
© 2018 Microsoft