FillFormat.RotateWithObject property (Word)
Returns or sets whether the fill rotates with the specified shape. Read/write.
Syntax
expression.RotateWithObject
expression An expression that returns a FillFormat object.
Remarks
The value returned by the RotateWithObject property can be one of the MsoTriState constants listed in the following table.
Constant | Description |
---|---|
msoFalse | The fill does not rotate with the shape. |
msoTrue | The fill rotates with the shape. |
The setting of the RotateWithObject property corresponds to the setting of the Rotate with shape box on the Fill pane of the Format Picture dialog box in the Word user interface (under Drawing Tools, on the Format Tab, in the Shape Styles group, click Format Shape.)
Note
The Rotate with shape box only appears if you have either the Gradient fill or Picture or texture fill option buttons selected on the Fill pane of the Format Shape dialog box.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.