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





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public TableNode CreateTableNode (
    Rect bounds,
    int columns,
    int rows
)

Visual Basic  Copy Code

Public Function CreateTableNode( _
    bounds As Rect, _
    columns As Integer, _
    rows As Integer _
) As TableNode

 Parameters

bounds

The bounding rectangle 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 with dimensions specified by bounds. 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