MindFusion.Wpf Pack Programmer's Guide
Factory.CreateTableNode Method (Point, Size, Int32, Int32)
See Also
 





Creates a new TableNode instance at the specified position with the specified size and with 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 (
    Point location,
    Size size,
    int columns,
    int rows
)

Visual Basic  Copy Code

Public Function CreateTableNode( _
    location As Point, _
    size As Size, _
    columns As Integer, _
    rows As Integer _
) As TableNode

 Parameters

location

The position of the new table.

size

The size 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 location. The size of the node is set by size. 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