GoDiagram Web Reference
Orthogonal Property (GoLink)

Gets or sets whether the segments of the link are always horizontal or vertical.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DefaultValueAttribute()>
<DescriptionAttribute("Whether the segments of the link are always horizontal and vertical.")>
Public Overridable Property Orthogonal As Boolean
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
[DescriptionAttribute("Whether the segments of the link are always horizontal and vertical.")]
public virtual bool Orthogonal {get; set;}
Remarks
This property primarily controls the behavior of CalculateStroke, to position the points of the stroke so that straight line segments will be horizontal or vertical. You can have a link drawn with only horizontal and vertical segments if the link's stroke style is GoStrokeStyle.Line or GoStrokeStyle.RoundedLine. If the stroke style is GoStrokeStyle.Bezier, some of the orthogonally positioned points act as control points to help form the curve. The orthogonal CalculateStroke algorithm adds two segments to the normal three segments so that it is possible to connect two ports using only orthogonal lines. Changing this value will call PortsOnLinkChanged to notify both ports that this property changed. Setting this property to true will clear any existing points and then call UpdateRoute, which will eventually call CalculateStroke.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLink Class
GoLink Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback