Excel.CellBorder interface

代表由返回的单个边框的属性getCellPropertiesRepresents the properties of a single border returned by getCellProperties, getRowProperties, 和getColumnProperties或的 border 属性输入参数setCellProperties, and getColumnProperties or the border property input parameter of setCellProperties, setRowProperties, 并setColumnProperties, and setColumnProperties.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性

color

代表单个color边框的属性。Represents the color property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

style

代表单个style边框的属性。Represents the style property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tintAndShade

代表单个tintAndShade边框的属性。Represents the tintAndShade property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

weight

代表单个weight边框的属性。Represents the weight property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

color

代表单个color边框的属性。Represents the color property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

color?: string;

属性值

string

style

代表单个style边框的属性。Represents the style property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

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

属性值

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

tintAndShade

代表单个tintAndShade边框的属性。Represents the tintAndShade property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tintAndShade?: number;

属性值

number

weight

代表单个weight边框的属性。Represents the weight property of a single border.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

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

属性值

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