Specifies the pen color.
Declaration
TPenObj.Color
| Read-Write Property | Integer |
| TPenObj | A TPen object |
Description
Use the Color property to get or set the color of the pen represented by the given TPen object.
Property Value
An integer value that specifies the pen lines' color.
For a list of predefined color constants and instructions on how to calculate custom color values, see the Working With Colors topic.
