Excel.Interfaces.ShapeLineFormatLoadOptions interface

代表 shape 对象的线条格式。Represents the line formatting for the shape object. 对于图像和几何形状, 线条格式表示形状的边框。For images and geometric shapes, line formatting represents the border of the shape.

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

属性

$all
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 ]

属性详细信息

$all

$all?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean