LinkShape.EdgePoints Property

The ordered list of points bounding the straight segments of the link shape, including two points at each jumps.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")> _
Public Property EdgePoints As EdgePointCollection
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
public EdgePointCollection EdgePoints { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"af57aca2-7d29-49ce-9aab-942c8036afcc")]
public:
property EdgePointCollection^ EdgePoints {
    EdgePointCollection^ get ();
    void set (EdgePointCollection^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")>]
member EdgePoints : EdgePointCollection with get, set
function get EdgePoints () : EdgePointCollection 
function set EdgePoints (value : EdgePointCollection)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.EdgePointCollection

Remarks

A link consists of a series of straight line segments. A link that is displayed as a single straight line has two edge points, at the start and end of the line. A link that has one vertex or corner will have an additional edge point between the start and end.

Where the link crosses another link, it may display a jump, which is a small semicircle. The list of edge points will include two additional points for the two sides of the jump. If you want to obtain a list of edge points that omits jumps, use EdgePointsNoJumps.

May be invalid if IsRouted is false.

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

EdgePointsNoJumps