GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNode Class / Initialize Method / Initialize(ResourceManager,String,String,String,Int32,Int32) 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 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.
In This Topic
    Initialize(ResourceManager,String,String,String,Int32,Int32) Method
    In This Topic
    Initialize an empty GoGeneralNode to have an icon, some labels, and some ports.
    Syntax

    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.

    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.
    See Also