Object Model Reference : Classes : P : Page : Properties : Page.Color |
Property Color As Color
Member of Page
The Color property returns or specifies the background color of a page.
• |
The Color property applies only if the Background property is set to
cdrPageBackgroundSolid.
|
The following VBA example creates a red background in the master page of the active document. Applying a red background to the master page applies that background to every page in the document.
Sub Test() |
ActiveDocument.Pages(0).Color.RGBAssign 255, 0, 0 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.