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.

Remarks

[ API set: ExcelApi 1.9 ]

Properties

color

Represents the color property of a single border.

style

Represents the style property of a single border.

tintAndShade

Represents the tintAndShade property of a single border.

weight

Represents the weight property of a single border.

Property Details

color

Represents the color property of a single border.

color?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.9 ]

style

Represents the style property of a single border.

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

Property Value

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

Remarks

[ API set: ExcelApi 1.9 ]

tintAndShade

Represents the tintAndShade property of a single border.

tintAndShade?: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.9 ]

weight

Represents the weight property of a single border.

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

Property Value

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

Remarks

[ API set: ExcelApi 1.9 ]