Excel.CellBorder interface

Represents the properties of a single border returned by getCellProperties, getRowProperties, and getColumnProperties or the border property input parameter of setCellProperties, setRowProperties, and setColumnProperties.

[ API set: ExcelApi 1.9 ]

Properties

color

Represents the color property of a single border.

[ API set: ExcelApi 1.9 ]

style

Represents the style property of a single border.

[ API set: ExcelApi 1.9 ]

tintAndShade

Represents the tintAndShade property of a single border.

[ API set: ExcelApi 1.9 ]

weight

Represents the weight property of a single border.

[ API set: ExcelApi 1.9 ]

Property Details

color

Represents the color property of a single border.

[ API set: ExcelApi 1.9 ]

color?: string;

Property Value

string

style

Represents the style property of a single border.

[ API set: ExcelApi 1.9 ]

style?: Excel.BorderLineStyle | "None" | "Continuous" | "Dash" | "DashDot" | "DashDotDot" | "Dot" | "Double" | "SlantDashDot";

Property Value

Excel.BorderLineStyle | "None" | "Continuous" | "Dash" | "DashDot" | "DashDotDot" | "Dot" | "Double" | "SlantDashDot"

tintAndShade

Represents the tintAndShade property of a single border.

[ API set: ExcelApi 1.9 ]

tintAndShade?: number;

Property Value

number

weight

Represents the weight property of a single border.

[ API set: ExcelApi 1.9 ]

weight?: Excel.BorderWeight | "Hairline" | "Thin" | "Medium" | "Thick";

Property Value

Excel.BorderWeight | "Hairline" | "Thin" | "Medium" | "Thick"