FillFormat.RotateWithObject Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property RotateWithObject As MsoTriState
    Get
    Set
'Usage
Dim instance As FillFormat
Dim value As MsoTriState

value = instance.RotateWithObject

instance.RotateWithObject = value
MsoTriState RotateWithObject { get; set; }

Property Value

Type: MsoTriState
A MsoTriState object.

Remarks

Read/write. The value returned by this 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 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.)

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.Word Namespace