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.{excerpt} {signature:C#} public Color Color{ get; set; } {signature}{signature:vb.net} Public Property Color() As Color {signature} {example}{code:csharp|title=C#} //--- Get Color Color c = bp.Color; //--- Set Color bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue); {code} {code:vb.net|title=vb.net} '--- Get Color Dim c As Color = bp.Color '--- Set Color bp.Color = wb.Palette.GetClosestColor(System.Drawing.Color.Blue) {code} {example} {scrollbar} |
Page History
Overview
Content Tools