Word.Interfaces.ShadingLoadOptions interface
代表 Shading 对象。
属性
| $all | 指定加载选项将 |
| background |
指定对象的背景颜色。 可以以“#RRGGBB”格式或颜色名称提供值。 |
| foreground |
指定对象前景的颜色。 可以以“#RRGGBB”格式或颜色名称提供值。 |
| texture | 指定对象的着色纹理。 若要详细了解如何应用纹理等背景,请参阅在 Word 中添加、更改或删除背景色。 |
属性详细信息
$all
指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
backgroundPatternColor
指定对象的背景颜色。 可以以“#RRGGBB”格式或颜色名称提供值。
backgroundPatternColor?: boolean;
属性值
boolean
注解
foregroundPatternColor
指定对象前景的颜色。 可以以“#RRGGBB”格式或颜色名称提供值。
foregroundPatternColor?: boolean;
属性值
boolean