Previous Document Next Document

Object Model Reference : Classes : F : Fill : Properties : Fill.UniformColor


Fill.UniformColor

Property UniformColor As Color

Description

Member of Fill

The UniformColor property returns a Color object that represents the uniform fill of a shape.

 
Assigning a color to UniformColor property automatically sets the fill type to cdrUniformFill.
VBA example

The following VBA example creates a yellow rectangle.

Sub Test()
 Dim s As Shape
 Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2)
 s.Fill.UniformColor.RGBAssign 255, 255, 0
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.