Property
Graphics.ForeColor
Warning
This item was deprecated in version 2019r2. Please use Graphics.DrawingColor as a replacement.
Description
The currently selected color for the Graphics object. This color is used by the various drawing methods.
Sample code
This example draws a diagonal line in the current ForeColor.
g.ForeColor = &cff0000
g.FillRect(10, 10, 100, 100)
Compatibility
All project types on all supported operating systems.