Excel.Interfaces.ShapeLineFormatUpdateData interface

一个用于更新 ShapeLineFormat 对象上的数据的接口, 可用于 "shapeLineFormat (An interface for updating data on the ShapeLineFormat object, for use in "shapeLineFormat.set({ ... })".

属性

color

代表 HTML 颜色格式的线条颜色, 格式#RRGGBB (例如 "FFA500") 或命名的 HTML 颜色 (例如 "橙色")。Represents the line color in HTML color format, of the form #RRGGBB (e.g. "FFA500") or as a named HTML color (e.g. "orange").

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

dashStyle

表示形状的线条样式。Represents the line style of the shape. 当线条不可见或短划线样式不一致时,返回 null。Returns null when the line is not visible or there are inconsistent dash styles. 有关详细信息,请参阅 Excel.ShapeLineStyle。See Excel.ShapeLineStyle for details.

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

style

表示形状的线条样式。Represents the line style of the shape. 当线条不可见或样式不一致时,返回 null。Returns null when the line is not visible or there are inconsistent styles. 有关详细信息,请参阅 Excel.ShapeLineStyle。See Excel.ShapeLineStyle for details.

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

transparency

将指定线条的透明度表示为从 0.0(不透明)到 1.0(清晰)的值。Represents the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear). 当形状的透明度不一致时,返回 null。Returns null when the shape has inconsistent transparencies.

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

visible

表示形状元素的线条格式是否可见。Represents whether or not the line formatting of a shape element is visible. 当形状的可见性不一致时,返回 null。Returns null when the shape has inconsistent visibilities.

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

weight

表示线条的粗细(以磅为单位)。Represents the weight of the line, in points. 当线条不可见或线条粗细不一致时,返回 null。Returns null when the line is not visible or there are inconsistent line weights.

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

属性详细信息

color

代表 HTML 颜色格式的线条颜色, 格式#RRGGBB (例如 "FFA500") 或命名的 HTML 颜色 (例如 "橙色")。Represents the line color in HTML color format, of the form #RRGGBB (e.g. "FFA500") or as a named HTML color (e.g. "orange").

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

color?: string;

属性值

string

dashStyle

表示形状的线条样式。Represents the line style of the shape. 当线条不可见或短划线样式不一致时,返回 null。Returns null when the line is not visible or there are inconsistent dash styles. 有关详细信息,请参阅 Excel.ShapeLineStyle。See Excel.ShapeLineStyle for details.

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

dashStyle?: Excel.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";

属性值

Excel.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot"

style

表示形状的线条样式。Represents the line style of the shape. 当线条不可见或样式不一致时,返回 null。Returns null when the line is not visible or there are inconsistent styles. 有关详细信息,请参阅 Excel.ShapeLineStyle。See Excel.ShapeLineStyle for details.

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

style?: Excel.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";

属性值

Excel.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin"

transparency

将指定线条的透明度表示为从 0.0(不透明)到 1.0(清晰)的值。Represents the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear). 当形状的透明度不一致时,返回 null。Returns null when the shape has inconsistent transparencies.

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

transparency?: number;

属性值

number

visible

表示形状元素的线条格式是否可见。Represents whether or not the line formatting of a shape element is visible. 当形状的可见性不一致时,返回 null。Returns null when the shape has inconsistent visibilities.

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

visible?: boolean;

属性值

boolean

weight

表示线条的粗细(以磅为单位)。Represents the weight of the line, in points. 当线条不可见或线条粗细不一致时,返回 null。Returns null when the line is not visible or there are inconsistent line weights.

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

weight?: number;

属性值

number