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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property EdgePoints As EdgePointCollection
Get
Set
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public EdgePointCollection EdgePoints { get; set; }
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"af57aca2-7d29-49ce-9aab-942c8036afcc")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property EdgePointCollection^ EdgePoints {
EdgePointCollection^ get ();
void set (EdgePointCollection^ value);
}
[<BrowsableAttribute(false)>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
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 [P:Microsoft.VisualStudio.Modeling.Diagrams.LinkShape.IsRouted()] is false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.