Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoMultiTextNode Class : CreateEndPort Method |
public virtual GoObject CreateEndPort(bool top) { GoPort p = new GoPort(); p.Size = new SizeF(5, 3); p.Style = GoPortStyle.None; if (top) { p.FromSpot = MiddleTop; p.ToSpot = MiddleTop; } else { p.FromSpot = MiddleBottom; p.ToSpot = MiddleBottom; } return p; }
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