Word.Interfaces.LineFormatLoadOptions interface
代表线条和箭头格式。 对于线条, LineFormat 对象包含线条本身的格式设置信息;对于带边框的形状,此对象包含形状边框的格式信息。
属性
| $all | 指定加载选项将 |
| dash |
指定线条的虚线样式。 |
| foreground |
获取表示 |
| inset |
指定是否在形状内绘制线条。 |
| is |
指定对象或应用于对象的格式是否可见。 |
| style | 指定线条格式样式。 |
| transparency | 指定线条的透明度,其值介于 0.0 (不透明) 到 1.0 (透明) 之间。 |
| weight | 指定线条的粗细(以磅为单位)。 |
属性详细信息
$all
指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
dashStyle
foregroundColor
获取表示 ColorFormat 线条前景色的对象。
foregroundColor?: Word.Interfaces.ColorFormatLoadOptions;
属性值
注解
insetPen
isVisible
style
transparency
指定线条的透明度,其值介于 0.0 (不透明) 到 1.0 (透明) 之间。
transparency?: boolean;
属性值
boolean