FillFormat.RotateWithObject property (Publisher)

Returns or sets whether the fill rotates with the specified shape. Read/write.

Syntax

expression.RotateWithObject

expression A variable that represents a FillFormat object.

Return value

MsoTriState

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 in the Fill pane of the Format Shape dialog box in the Publisher user interface.

Note

The Rotate with shape box appears only if you have either the Gradient fill or Picture or texture fill option buttons selected in the Fill pane of the Format Shape dialog box.

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.