PowerPoint.Interfaces.ShapeLineFormatUpdateData interface

用于更新 ShapeLineFormat 对象上的数据的接口,用于 在 中使用 shapeLineFormat.set({ ... })

属性

color

表示 HTML 颜色格式的线条颜色,格式#RRGGBB (例如“FFA500”) 或命名的 HTML 颜色 (例如“orange”) 。

dashStyle

表示线条的短划线样式。 当线条不可见或短划线样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineDashStyle。

style

表示形状的线条样式。 当线条不可见或样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineStyle。

transparency

将行的透明度百分比指定为从 0.0 (不透明) 到 1.0 (清除) 的值。 当形状的透明度不一致时,返回 null。

visible

指定形状元素的线条格式是否可见。 null当形状的可见性不一致时返回 。

weight

表示线条的粗细(以磅为单位)。 null当线条不可见或线条粗细不一致时返回 。

属性详细信息

color

表示 HTML 颜色格式的线条颜色,格式#RRGGBB (例如“FFA500”) 或命名的 HTML 颜色 (例如“orange”) 。

color?: string;

属性值

string

注解

[ API 集:PowerPointApi 1.4 ]

dashStyle

表示线条的短划线样式。 当线条不可见或短划线样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineDashStyle。

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

属性值

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

注解

[ API 集:PowerPointApi 1.4 ]

style

表示形状的线条样式。 当线条不可见或样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineStyle。

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

属性值

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

注解

[ API 集:PowerPointApi 1.4 ]

transparency

将行的透明度百分比指定为从 0.0 (不透明) 到 1.0 (清除) 的值。 当形状的透明度不一致时,返回 null。

transparency?: number;

属性值

number

注解

[ API 集:PowerPointApi 1.4 ]

visible

指定形状元素的线条格式是否可见。 null当形状的可见性不一致时返回 。

visible?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

weight

表示线条的粗细(以磅为单位)。 null当线条不可见或线条粗细不一致时返回 。

weight?: number;

属性值

number

注解

[ API 集:PowerPointApi 1.4 ]