GoDiagram Web Reference
OnLabelSpotChanged Method

the former LabelSpot value
Determine how to change the whole node when the LabelSpot changes.
Syntax
'Declaration
 
Public Overridable Sub OnLabelSpotChanged( _
   ByVal old As Integer _
) 
public virtual void OnLabelSpotChanged( 
   int old
)

Parameters

old
the former LabelSpot value
Remarks
By default, setting the LabelSpot to GoObject.Middle will make the shape big enough to hold the text and the port the same size as the shape, and will make the node not Resizable. It also changes the port's Style to GoPortStyle.None, so that the port does not obscure the label. Changing the LabelSpot from GoObject.Middle to some other value will reset the shape and port sizes to their initial, default values.
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

GoBasicNode Class
GoBasicNode Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback