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