Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoMultiTextNode Class : CreatePort Method |
public virtual GoObject CreatePort(bool left, int idx) { GoPort p = new GoPort(); p.Size = new SizeF(3, 5); p.Style = GoPortStyle.None; if (left) { p.FromSpot = MiddleLeft; p.ToSpot = MiddleLeft; } else { p.FromSpot = MiddleRight; p.ToSpot = MiddleRight; } 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