This functionality is similar to our change fill color feature where we can change the fill color of selected shape(s). With this feature, we can define both background color, foreground color and the pattern that should be applied to the shape.
CMD
<Cmd case="BaseExtensions:change-fill-pattern"/>
Parameters
pattern
Define the pattern that should be applied to the shape, using a MsoPatternType enumeration from this link.
background
Define the color of the background of the pattern. This can either be defined as a RGB color or as an accent color. When using RGB, separate by comma and exclude whitespace, e.g. color="0,0,0"
.
For accent colors, we support the following options:
- Accent1
- Accent2
- Accent3
- Accent4
- Accent5
- Accent6
- Light1
- Light2
- Dark1
- Dark2
foreground
Define the foreground color of the pattern. Here, we support the same options as for the background
parameter.
Comments
0 comments
Article is closed for comments.