Word.Interfaces.LineFormatUpdateData interface

用于更新对象上 LineFormat 的数据的接口,用于 lineFormat.set({ ... }).

注解

使用方

属性

dashStyle

指定线条的虚线样式。

foregroundColor

获取表示 ColorFormat 线条前景色的对象。

insetPen

指定是否在形状内绘制线条。

isVisible

指定对象或应用于对象的格式是否可见。

style

指定线条格式样式。

transparency

指定线条的透明度,其值介于 0.0 (不透明) 到 1.0 (透明) 之间。

weight

指定线条的粗细(以磅为单位)。

属性详细信息

dashStyle

指定线条的虚线样式。

dashStyle?: Word.LineDashStyle | "Mixed" | "Solid" | "SquareDot" | "RoundDot" | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "LongDashDotDot" | "SysDash" | "SysDot" | "SysDashDot";

属性值

Word.LineDashStyle | "Mixed" | "Solid" | "SquareDot" | "RoundDot" | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "LongDashDotDot" | "SysDash" | "SysDot" | "SysDashDot"

注解

API 集:WordApiDesktop 1.3

foregroundColor

获取表示 ColorFormat 线条前景色的对象。

foregroundColor?: Word.Interfaces.ColorFormatUpdateData;

属性值

注解

API 集:WordApiDesktop 1.3

insetPen

指定是否在形状内绘制线条。

insetPen?: boolean;

属性值

boolean

注解

API 集:WordApiDesktop 1.3

isVisible

指定对象或应用于对象的格式是否可见。

isVisible?: boolean;

属性值

boolean

注解

API 集:WordApiDesktop 1.3

style

指定线条格式样式。

style?: Word.LineFormatStyle | "Mixed" | "Single" | "ThinThin" | "ThinThick" | "ThickThin" | "ThickBetweenThin";

属性值

Word.LineFormatStyle | "Mixed" | "Single" | "ThinThin" | "ThinThick" | "ThickThin" | "ThickBetweenThin"

注解

API 集:WordApiDesktop 1.3

transparency

指定线条的透明度,其值介于 0.0 (不透明) 到 1.0 (透明) 之间。

transparency?: number;

属性值

number

注解

API 集:WordApiDesktop 1.3

weight

指定线条的粗细(以磅为单位)。

weight?: number;

属性值

number

注解

API 集:WordApiDesktop 1.3