ArcObjects Library Reference  (Schematic)    

INgDiagramType.DissociateElementType Method

Dissociates the 'ElementType' element type with the diagram type.

[Visual Basic 6.0]
Sub DissociateElementType(
    ByVal ElementType As INgElementType _
) As Empty
[Visual Basic .NET]
Public Sub DissociateElementType ( _
    ByVal ElementType As INgElementType _
)
[C#]
public void DissociateElementType (
    INgElementType ElementType
);
[Java]
public void dissociateElementType (
    INgElementType ElementType
)
throws
    IOException,
    AutomationException
[C++]
HRESULT DissociateElementType(
  INgElementType* ElementType
);
[C++]

Parameters

ElementType [in]

  ElementType is a parameter of type INgElementType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.
[Visual Basic 6.0]

Here is a sample call of the DissociateElementType method:

Dim pDiagramType As INgDiagramType
Dim pElementType As INgElementType
...
Set pElementType = m_INgProject.GetElementType("Stations")
If pDiagramType.IsElementTypeAssociated(pElementType) Then
    pDiagramType.DissociateElementType (pElementType)
End If

See Also

INgDiagramType Interface | INgDiagramType.AssociateElementType Method

 


Feedback Send feedback on this page