Click or drag to resize

IBorder Interface

Defines the contract for an object that represents a border.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IBorder : IExcelApplication

The IBorder type exposes the following members.

Properties
Name Description
Public property Color
Returns color of the border.
Public property KnownColor
Returns or sets the primary color of the object. Use the RGB function to create a color value. Read/write Long.
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 current instance.
(Inherited from IExcelApplication .)
Public property ShowDiagonalLine
This property is used only by Diagonal borders. For any other border index property will have no influence.
Top
Methods
Name Description
Public method GetThemeColor
Retrieves the theme color and its tint value.
Public method SetThemeColor
Sets the theme color for the specified type with the given tint.
Top
See Also