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
Properties
color | Represents the |
style | Represents the |
tint |
Represents the |
weight | Represents the |
Property Details
color
Represents the color
property of a single border.
color?: string;
Property Value
string
Remarks
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
tintAndShade
Represents the tintAndShade
property of a single border.
tintAndShade?: number;
Property Value
number
Remarks
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
Office Add-ins