DiagramItem::SetItem Method (LinkShape^, LineSegment^, AnchorPoint^)

 

Set the DiagramItem to represent the specified LineSegment's anchor point

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void SetItem(
	LinkShape^ shape,
	LineSegment^ segment,
	AnchorPoint^ anchorPoint
)

Parameters

shape
Type: Microsoft.VisualStudio.Modeling.Diagrams::LinkShape^

The parent ShapeElement of the LineSegment. This cannot be null.

segment
Type: Microsoft.VisualStudio.Modeling.Diagrams::LineSegment^

The LineSegment that this DiagramItem is to represent.

anchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams::AnchorPoint^

The anchor point on the line segment

Return to top
Show: