LinkShapeGeometry::CreateDiagramItem Method (IGeometryHost^, LineSegment^)

 

Creates a DiagramItem object given an IGeometryHost object.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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 to top
Show: