Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns a foreground color for cells. A foreground color is visible when a pattern is assigned to a cell.
C#
public Color ForegroundColor{ get; set; }
vb.net
Public Property ForegroundColor() As Color

Examples

C#
//--- Get ForegroundColor
Color fgColor = styl.ForegroundColor;
 
//--- Set ForegroundColor
styl.ForegroundColor = wb.Palette.GetClosestColor(162, 221, 139);
vb.net
'--- Get ForegroundColor
Dim fgColor As Color = styl.ForegroundColor
 
'--- Set ForegroundColor
styl.ForegroundColor = wb.Palette.GetClosestColor(162, 221, 139)
  • No labels