Partager via


Shape.Type Property

Represents the type of shape or shapes in a range of shapes. Read-only.

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

Syntax

'Declaration
ReadOnly Property Type As MsoShapeType
    Get
'Usage
Dim instance As Shape
Dim value As MsoShapeType

value = instance.Type
MsoShapeType Type { get; }

Property Value

Type: Microsoft.Office.Core.MsoShapeType

Remarks

The value of the Type property can be one of these MsoShapeType constants.

msoAutoShape

msoCallout

msoCanvas

msoChart

msoComment

msoDiagram

msoEmbeddedOLEObject

msoFormControl

msoFreeform

msoGroup

msoLine

msoLinkedOLEObject

msoLinkedPicture

msoMedia

msoOLEControlObject

msoPicture

msoPlaceholder

msoScriptAnchor

msoShapeTypeMixed

msoTable

msoTextBox

msoTextEffect

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace