LinkShapeGeometry::CreateDiagramItem Method (IGeometryHost^, LineSegment^)
Visual Studio 2015
Creates a DiagramItem object given an IGeometryHost object.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
protected: static DiagramItem^ CreateDiagramItem( IGeometryHost^ geometryHost, LineSegment^ segment )
Parameters
- geometryHost
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^
The instance data for the geometry.
- segment
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::LineSegment^
line segment within the LinkShape that was hit.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
Show: