Retrieves the size of a single node.
Namespace: TreeLayoutHelperAssembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
| C# |
|---|
void MeasureNode( TNode node, out int width, out int height ) |
| Visual Basic |
|---|
Sub MeasureNode ( _ node As TNode, _ <OutAttribute> ByRef width As Integer, _ <OutAttribute> ByRef height As Integer _ ) |
| Visual C++ |
|---|
void MeasureNode( TNode node, [OutAttribute] int% width, [OutAttribute] int% height ) |
| J# |
|---|
void MeasureNode( TNode node, /** @attribute OutAttribute */ /** @ref */int width, /** @attribute OutAttribute */ /** @ref */int height ) |
| JScript |
|---|
function MeasureNode( node : TNode, width : int, height : int ) |
| JavaScript |
|---|
function MeasureNode(node, width, height); |
Parameters
- node
- Type: TNode
The node.
- width
- Type: System..::..Int32%
Receives the width of the node.
- height
- Type: System..::..Int32%
Receives the height of the node.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | node is nullNothingnullptra null reference (Nothing in Visual Basic). |