CellBorder Class | 
Namespace: Spire.Xls
The CellBorder type exposes the following members.
| Name | Description | |
|---|---|---|
| 
 | 
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.
 
 | 
| 
 | 
KnownColor | 
 
Returns or sets a ExcelColors value that represents the color of the border
 
 | 
| 
 | 
LineStyle | 
 
Returns or sets the line style for the border. Read/write LineStyleType.
 
 | 
| 
 | 
OColor | 
 
Returns or sets the primary color of the object.
Read/write ExcelColors.
 
 | 
| 
 | 
Parent | 
 
Gets the parent object of the border.
 
 | 
| 
 | 
ShowDiagonalLine | 
 
Indicates whether shows diagonal line.
 
 | 
| Name | Description | |
|---|---|---|
| 
 | 
CopyFrom | 
 
Copies styles from source border.
 
 | 
| 
 | 
Equals | 
 
Determines whether the specified object is equal to the current object.
 
(Inherited from
Object
.)
 | 
| 
 | 
Finalize | 
 
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
 
(Inherited from
Object
.)
 | 
| 
 | 
GetHashCode | 
 
Serves as the default hash function.
 
(Inherited from
Object
.)
 | 
| 
 | 
GetThemeColor | 
 
Gets the theme color of the border
 
 | 
| 
 | 
GetType | 
 
Gets the
Type
of the current instance.
 
(Inherited from
Object
.)
 | 
| 
 | 
MemberwiseClone | 
 
Creates a shallow copy of the current
Object
.
 
(Inherited from
Object
.)
 | 
| 
 | 
SetThemeColor | 
 
Sets the theme color of the border.
 
 | 
| 
 | 
ToString | 
 
Returns a string that represents the current object.
 
(Inherited from
Object
.)
 |