PageBackground.Create Method
Publisher Developer Reference |
Creates a new PageBackground object for the specified Page object.
Syntax
expression.Create
expression A variable that represents a PageBackground object.
Remarks
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.
Example
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.
Visual Basic for Applications |
---|
|
See Also