Partager via


_Presentation.Convert Method

Reserved for internal use.

Converts a diagram to a different diagram type.

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

Syntax

'Declaration
Sub Convert
'Usage
Dim instance As _Presentation

instance.Convert()
void Convert()

Remarks

The Convert() method generates an error if the value of the target diagram's Type property is an organization chart (msoDiagramTypeOrgChart).

The Type parameter value can be one of these MsoDiagramType constants.

msoDiagramCycle

msoDiagramMixed

msoDiagramOrgChart

msoDiagramPyramid

msoDiagramRadial

msoDiagramTarget

msoDiagramVenn

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace