Diagram.Convert Method
Converts the current diagram to a different diagram.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub Convert ( _
Type As MsoDiagramType _
)
'Usage
Dim instance As Diagram
Dim Type As MsoDiagramType
instance.Convert(Type)
void Convert(
MsoDiagramType Type
)
Parameters
Type
Type: Microsoft.Office.Core.MsoDiagramTypeRequired MsoDiagramType. The type of diagram to convert to.
MsoDiagramType can be one of these constants.
msoDiagramCycle A process diagram with a continuous cycle diagram type.
msoDiagramMixed A mixed diagram type.
msoDiagramOrgChart A hierarchical relationship diagram type.
msoDiagramPyramid A foundation based relationships diagram type.
msoDiagramRadial A diagram type showing relationships of a core element.
msoDiagramTarget A diagram type showing steps toward a goal.
msoDiagramVenn A diagram type showing areas of overlap between elements.