Word.Interfaces.LineFormatUpdateData interface
用于更新对象上 LineFormat 的数据的接口,用于 lineFormat.set({ ... }).
属性
| dash |
指定线条的虚线样式。 |
| foreground |
获取表示 |
| inset |
指定是否在形状内绘制线条。 |
| is |
指定对象或应用于对象的格式是否可见。 |
| 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"
注解
foregroundColor
获取表示 ColorFormat 线条前景色的对象。
foregroundColor?: Word.Interfaces.ColorFormatUpdateData;
属性值
注解
insetPen
isVisible
style
指定线条格式样式。
style?: Word.LineFormatStyle | "Mixed" | "Single" | "ThinThin" | "ThinThick" | "ThickThin" | "ThickBetweenThin";
属性值
Word.LineFormatStyle | "Mixed" | "Single" | "ThinThin" | "ThinThick" | "ThickThin" | "ThickBetweenThin"
注解
transparency
指定线条的透明度,其值介于 0.0 (不透明) 到 1.0 (透明) 之间。
transparency?: number;
属性值
number