ShapeRange.AutoShapeType Property

Returns or sets the shape type for the specified ShapeRange object, which must represent an AutoShape other than a line or freeform drawing.

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

Syntax

'Declaration
Property AutoShapeType As MsoAutoShapeType
    Get
    Set
'Usage
Dim instance As ShapeRange
Dim value As MsoAutoShapeType

value = instance.AutoShapeType

instance.AutoShapeType = value
MsoAutoShapeType AutoShapeType { get; set; }

Property Value

Type: MsoAutoShapeType

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace