FillFormat.RotateWithObject Property

Definition

Gets or sets whether the fill rotates with the specified shape.

public:
 property Microsoft::Office::Core::MsoTriState RotateWithObject { Microsoft::Office::Core::MsoTriState get(); void set(Microsoft::Office::Core::MsoTriState value); };
public Microsoft.Office.Core.MsoTriState RotateWithObject { get; set; }
member this.RotateWithObject : Microsoft.Office.Core.MsoTriState with get, set
Public Property RotateWithObject As MsoTriState

Property Value

A MsoTriState object.

Remarks

Read/write. The value returned by this property can be one of the MsoTriState constants listed in the following table.

msoFalse The fill does not rotate with the shape.
msoTrue The fill rotates with the shape.

The setting of this property corresponds to the setting of the Rotate with shape box on the Fill pane of the Format Picture dialog box in the Microsoft Word 2010 user interface (under Drawing Tools, on the Format tab, in the Shape Styles group, click Format Shape.)

Applies to