GoDiagram Win Reference
Initialize(ImageList,Int32,String) 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 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 Label. If this value is null, no label is created for this node.
Initialize an empty GoSimpleNode to have an icon, a label, and two ports.
Syntax
'Declaration
 
Public Overloads Overridable Sub Initialize( _
   ByVal imglist As ImageList, _
   ByVal imgindex As Integer, _
   ByVal name As String _
) 
public virtual void Initialize( 
   ImageList imglist,
   int imgindex,
   string name
)

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 Paint.
imgindex
The zero-based index of the Image contained in an ImageList, given either by imglist or by GoView.ImageList.
name
The initial string value for the Label. If this value is null, no label is created for 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

GoSimpleNode Class
GoSimpleNode Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback