GoDiagram Web Reference
CreateLabel Method (GoSubGraph)
Example 

This creates the initial text label--an editable, bold, single-line GoText that wraps.
Syntax
'Declaration
 
Protected Overridable Function CreateLabel() As GoText
protected virtual GoText CreateLabel()
Example
If you override this method, you may want the definition to do some of the things that the standard definition does:
protected virtual GoText CreateLabel() {
  GoText t = new GoText();
  t.Selectable = false;
  t.Alignment = MiddleBottom;
  t.Wrapping = true;
  t.Bold = true;
  t.Editable = true;
  return t;
}
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

GoSubGraph Class
GoSubGraph Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback