Word.Interfaces.ShadingLoadOptions interface
Represents the shading object.
Remarks
Properties
$all | Specifying |
background |
Specifies the color for the background of the object. You can provide the value in the '#RRGGBB' format or the color name. |
foreground |
Specifies the color for the foreground of the object. You can provide the value in the '#RRGGBB' format or the color name. |
texture | Specifies the shading texture of the object. To learn more about how to apply backgrounds like textures, see Add, change, or delete the background color in Word. |
Property Details
$all
Specifying $all
for the LoadOptions loads all the scalar properties (e.g.: Range.address
) but not the navigational properties (e.g.: Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
backgroundPatternColor
Specifies the color for the background of the object. You can provide the value in the '#RRGGBB' format or the color name.
backgroundPatternColor?: boolean;
Property Value
boolean
Remarks
foregroundPatternColor
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the color for the foreground of the object. You can provide the value in the '#RRGGBB' format or the color name.
foregroundPatternColor?: boolean;
Property Value
boolean
Remarks
texture
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the shading texture of the object. To learn more about how to apply backgrounds like textures, see Add, change, or delete the background color in Word.
texture?: boolean;
Property Value
boolean
Remarks
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for