Class CellBorder
public class CellBorder : IBorder, IExcelApplication
- Inheritance
-
CellBorder
- Implements
- Inherited Members
Properties
Color
Returns or sets the primary color of the object, as shown in the table in the remarks section. Use the RGB function to create a color value. Read/write Color.
public Color Color { get; set; }
Property Value
KnownColor
Returns or sets a ExcelColors value that represents the color of the border
public ExcelColors KnownColor { get; set; }
Property Value
LineStyle
Returns or sets the line style for the border. Read/write LineStyleType.
public LineStyleType LineStyle { get; set; }
Property Value
OColor
Returns or sets the primary color of the object. Read/write ExcelColors.
public OColor OColor { get; }
Property Value
Parent
public object Parent { get; }
Property Value
ShowDiagonalLine
Indicates whether shows diagonal line.
public bool ShowDiagonalLine { get; set; }
Property Value
Methods
CopyFrom(CellBorder)
Copies styles from source border.
public void CopyFrom(CellBorder srcBorder)
Parameters
srcBorder
CellBorder
GetThemeColor(out ThemeColorType, out double)
public bool GetThemeColor(out ThemeColorType type, out double tint)
Parameters
type
ThemeColorTypetint
double
Returns
SetThemeColor(ThemeColorType, double)
public void SetThemeColor(ThemeColorType type, double tint)
Parameters
type
ThemeColorTypetint
double