Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns the color of the border, as an ExcelWriter

Msdn
System.Drawing.Color
System.Drawing.Color
1Color
object. If multiple colors were assigned to border parts, Color will return the color of the top border.

Signature
C#
C#
 public Color Color{ get; set; }
Signature
vb.net
vb.net
Public Property Color() As Color
Example
Code Block
csharp
csharp
titleC#

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

          //--- Set Color
          bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue);
        
Code Block
vb.net
vb.net
titlevb.net

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

          '--- Set Color
          bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue)
        
Scrollbar