GoDiagram Win Reference
Initialize(ImageList,Int32,String,String,Int32,Int32) Method

Provide the ImageList whose imgindex specifies the actual image to use for the icon. If this is null, the GoView.ImageList property is used by GoImage.Paint.
The zero-based index of the Image contained in an ImageList, given either by imglist or by GoView.ImageList.
The initial string value for the TopLabel. If this value is null, no label is created at the top of this node.
The initial string value for the BottomLabel. If this value is null, no label is created at the bottom of this node.
The number of ports to create on the left side (or top side) of this node.
The number of ports to create on the right side (or bottom side) of this node.
Initialize an empty GoGeneralNode to have an icon, some labels, and some ports.
Syntax
'Declaration
 
Public Overloads Overridable Sub Initialize( _
   ByVal imglist As ImageList, _
   ByVal imgindex As Integer, _
   ByVal top As String, _
   ByVal bottom As String, _
   ByVal numinports As Integer, _
   ByVal numoutports As Integer _
) 
public virtual void Initialize( 
   ImageList imglist,
   int imgindex,
   string top,
   string bottom,
   int numinports,
   int numoutports
)

Parameters

imglist
Provide the ImageList whose imgindex specifies the actual image to use for the icon. If this is null, the GoView.ImageList property is used by GoImage.Paint.
imgindex
The zero-based index of the Image contained in an ImageList, given either by imglist or by GoView.ImageList.
top
The initial string value for the TopLabel. If this value is null, no label is created at the top of this node.
bottom
The initial string value for the BottomLabel. If this value is null, no label is created at the bottom of this node.
numinports
The number of ports to create on the left side (or top side) of this node.
numoutports
The number of ports to create on the right side (or bottom side) of this node.
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

GoGeneralNode Class
GoGeneralNode Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback