www.gnostice.com 

PenColor

Top  Previous  Next

The PenColor property specifies the color used to draw lines, outline shapes, frames, etc.

 

 

 

 

Syntax

 

 

[VC++]

unsigned long GetPenColor();

void SetPenColor(unsigned long newValue);

 

[C#]

public abstract new uint PenColor [  get,  set ]

 

[VB]

Property PenColor As OLE_COLOR

 

 

 

 

Example Code

 

 

For an example, see Pen Formatting.

 

 

 

 

See Also

 

 

PenStyle, PenWidth