Excel.Interfaces.ConditionalRangeBorderData interface

描述通过调用 "conditionalRangeBorder ()" 返回的数据的接口。An interface describing the data returned by calling "conditionalRangeBorder.toJSON()".

属性

color

代表#RRGGBB (例如 "FFA500") 或命名的 HTML 颜色 (例如 "橙色") 的边框线条颜色的 HTML 颜色代码。HTML color code representing the color of the border line, of the form #RRGGBB (e.g. "FFA500") or as a named HTML color (e.g. "orange").

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

sideIndex

指示边框的特定边的常量值。Constant value that indicates the specific side of the border. 有关详细信息, 请参阅 ConditionalRangeBorderIndex。See Excel.ConditionalRangeBorderIndex for details. 只读。Read-only.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

style

线条样式的常量之一,指定边框的线条样式。One of the constants of line style specifying the line style for the border. 有关详细信息, 请参阅 BorderLineStyle。See Excel.BorderLineStyle for details.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

属性详细信息

color

代表#RRGGBB (例如 "FFA500") 或命名的 HTML 颜色 (例如 "橙色") 的边框线条颜色的 HTML 颜色代码。HTML color code representing the color of the border line, of the form #RRGGBB (e.g. "FFA500") or as a named HTML color (e.g. "orange").

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

color?: string;

属性值

string

sideIndex

指示边框的特定边的常量值。Constant value that indicates the specific side of the border. 有关详细信息, 请参阅 ConditionalRangeBorderIndex。See Excel.ConditionalRangeBorderIndex for details. 只读。Read-only.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

sideIndex?: Excel.ConditionalRangeBorderIndex | "EdgeTop" | "EdgeBottom" | "EdgeLeft" | "EdgeRight";

属性值

Excel.ConditionalRangeBorderIndex | "EdgeTop" | "EdgeBottom" | "EdgeLeft" | "EdgeRight"

style

线条样式的常量之一,指定边框的线条样式。One of the constants of line style specifying the line style for the border. 有关详细信息, 请参阅 BorderLineStyle。See Excel.BorderLineStyle for details.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

style?: Excel.ConditionalRangeBorderLineStyle | "None" | "Continuous" | "Dash" | "DashDot" | "DashDotDot" | "Dot";

属性值

Excel.ConditionalRangeBorderLineStyle | "None" | "Continuous" | "Dash" | "DashDot" | "DashDotDot" | "Dot"