Share via


FillFormat.RotateWithObject Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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: Microsoft.Office.Core.MsoTriState

Remarks

The value returned by the RotateWithObject property can be one of these MsoTriState constants.

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 Microsoft Office PowerPoint 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.PowerPoint Namespace