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