PowerPoint.Interfaces.BorderData interface

一个描述通过调用 border.toJSON()返回的数据的接口。

注解

使用方

属性

color

以十六进制格式表示线条颜色,#RRGGBB (例如“FFA500”) 或作为命名 HTML 颜色值 (例如“orange”) 。

dashStyle

表示线条的虚线样式。

transparency

指定线条的透明度百分比,其值范围为 0.0 (不透明) 到 1.0 (透明) 。

weight

表示线条的粗细(以磅为单位)。

属性详细信息

color

以十六进制格式表示线条颜色,#RRGGBB (例如“FFA500”) 或作为命名 HTML 颜色值 (例如“orange”) 。

color?: string | undefined;

属性值

string | undefined

注解

API 集:PowerPointApi 1.9

dashStyle

表示线条的虚线样式。

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

属性值

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

注解

API 集:PowerPointApi 1.9

transparency

指定线条的透明度百分比,其值范围为 0.0 (不透明) 到 1.0 (透明) 。

transparency?: number | undefined;

属性值

number | undefined

注解

API 集:PowerPointApi 1.9

weight

表示线条的粗细(以磅为单位)。

weight?: number | undefined;

属性值

number | undefined

注解

API 集:PowerPointApi 1.9