Search
Factory.CreateTableNode Method (Single, Single, Single, Single, Int32, Int32)
See Also
 





Creates a new TableNode instance at the specified position with the specified size and the specified number of columns and rows, and adds it to the Nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public TableNode CreateTableNode (
    float x,
    float y,
    float width,
    float height,
    int columns,
    int rows
)

Visual Basic  Copy Code

Public Function CreateTableNode( _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single, _
    columns As Integer, _
    rows As Integer _
) As TableNode

 Parameters

x

The x-coordinate of the upper-left corner of the new table.

y

The y-coordinate of the upper-left corner of the new table.

width
The width if the new table.
height

The height of the new table.

columns

The initial number of columns in the table.

rows

The initial number of rows in the table.

 Return Value

The newly created TableNode instance.

 Remarks

The method creates a table node at the position specified by x and y. The size of the node is set by width and height. The initial number of columns and rows in the table is specified by columns and rows respectively. For further customization of the node, use the properties and methods of the TableNode class.

 See Also