Object Model Reference : Classes : L : Layer : Properties : Layer.Color |
Property Color As Color
Member of Layer
The Color property returns or specifies the override color of a layer.
The following VBA example sets the color-override feature to True in the active layer and the override color to RGB Red.
Sub Test() |
ActiveLayer.OverrideColor = True |
ActiveLayer.Color.RGBAssign 255, 0, 0 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.