NetDiagram Programmer's Guide
DiagramNode.Resize Method
See Also
 





Resizes the node.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Resize (
    float width,
    float height
)

Visual Basic  Copy Code

Public Sub Resize( _
    width As Single, _
    height As Single _
)

 Parameters

width
A float value specifying new width of the node.
height
A float value specifying new height of the node.

 Remarks

This method resizes a node, without changing the node's top-left corner location. Resizing a node also updates the control points coordinates of all links connected to the node.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace
Bounds Property
Move Method