Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Sets or returns the color of the border, as an ExcelWriter {msdn:System.Drawing.Color

...

|Color} object.  If multiple colors were assigned to border parts,  {{Color}} will return the color of the top border.

...

{signature}
{example}{code:csharp|title=C#}

          //--- Get Color
          Color c = b.Color;

          //--- Set Color
          b.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue);
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get Color
          Dim c As Color = b.Color

          '--- Set Color
          b.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue)
        
Signature
C#C#
{excerpt}
{signature:C#}
 public Color Color{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Color() As Color
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle

...

{code}

{example}
{scrollbar}