Click or drag to resize

CellBorder Class

Represents a cell border.
Inheritance Hierarchy
System Object
Spire.Xls CellBorder

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class CellBorder : IBorder, IExcelApplication

The CellBorder type exposes the following members.

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