MindFusion.Wpf Pack Programmer's Guide
Factory.CreateTableNode Method (Double, Double, Double, Double, 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.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Function CreateTableNode( _
    x As Double, _
    y As Double, _
    width As Double, _
    height As Double, _
    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

CreateTableNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming.Wpf Namespace
CreateShapeNode Method
CreateDiagramLink Method
Diagram.AlignPointToGrid Method