Previous Document Next Document

Object Model Reference : Classes : P : Page : Properties : Page.Color


Page.Color

Property Color As Color

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.