Partager via


Shape.MediaType Property

Returns the OLE media type. Read-only.

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

Syntax

'Declaration
ReadOnly Property MediaType As PpMediaType
    Get
'Usage
Dim instance As Shape
Dim value As PpMediaType

value = instance.MediaType
PpMediaType MediaType { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpMediaType

Remarks

The value of the MediaType property can be one of the following PpMediaType constants:

ppMediaTypeMixed

ppMediaTypeMovie

ppMediaTypeOther

ppMediaTypeSound

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace