Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoBasicNode Class : CreatePort Method |
'Declaration Protected Overridable Function CreatePort() As GoPort
protected virtual GoPort CreatePort()
protected virtual GoPort CreatePort() { GoPort p = new GoPort(); p.Style = GoPortStyle.Ellipse; // black circle/ellipse // use custom link spots for both links coming in and going out p.FromSpot = GoObject.NoSpot; p.ToSpot = GoObject.NoSpot; p.Size = new SizeF(7, 7); 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