GoDiagram Win Reference
Initialize(ResourceManager,String,String) Method

Provides the ResourceManager holding an Image resource named by iconname. If this parameter is null, GoImage.DefaultResourceManager is used instead.

The name of the Image resource in the ResourceManager given by res, or else a file name if no resource manager can be used (i.e., when both res is null and GoImage.DefaultResourceManager is null).

If the value is an empty string, the Image will be blank; you can set Image.GoImage.Name to show or change the image displayed by the GoImage that is the Image.

If the value is null, the Icon is not a GoImage but a GoDrawing; you can then set the Figure to change the shape shown as the icon.

The initial string value for the Label. If this value is null, no label is created for this node.
Initialize an empty GoIconicNode to have an icon, a label, and one port.
Syntax
'Declaration
 
Public Overloads Overridable Sub Initialize( _
   ByVal res As ResourceManager, _
   ByVal iconname As String, _
   ByVal name As String _
) 
public virtual void Initialize( 
   ResourceManager res,
   string iconname,
   string name
)

Parameters

res
Provides the ResourceManager holding an Image resource named by iconname. If this parameter is null, GoImage.DefaultResourceManager is used instead.
iconname

The name of the Image resource in the ResourceManager given by res, or else a file name if no resource manager can be used (i.e., when both res is null and GoImage.DefaultResourceManager is null).

If the value is an empty string, the Image will be blank; you can set Image.GoImage.Name to show or change the image displayed by the GoImage that is the Image.

If the value is null, the Icon is not a GoImage but a GoDrawing; you can then set the Figure to change the shape shown as the icon.

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

GoIconicNode Class
GoIconicNode Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback