www.gnostice.com 

BrushColor

Top  Previous  Next

The BrushColor property indicates the color of the brush.

 

 

 

 

Syntax

 

 

[VC++]

unsigned long GetBrushColor();

void SetBrushColor(unsigned long newValue);

 

[C#]

public abstract new uint BrushColor [  get,  set ]

 

[VB]

Property BrushColor As OLE_COLOR

 

 

 

 

 

Remarks

 

 

The brush represents the color and pattern used to fill solid shapes. The BrushColor property determines the color of the brush that is used to draw the pattern and not the background color of the brush (unless BrushStyle is bsSolid).

 

 

 

 

Note

 

 

If the value of the Style property is bsClear, the Color property is ignored. When Style is set to bsClear, the value assigned to the Color property is lost .

 

 

 

 

Example Code

 

 

[VC++]

m_Engine.SetBrushColor(RGB(255, 0, 0));

 

 

[VB]

gtEngineX1.BrushColor = RGB(255, 0, 0)

 

 

[C#]

axgtPDFEngineX1.BrushColor = System.Drawing.Color.Red;

 

 

See Also

 

 

BrushStyle