This method throws an ArgumentException if the width/height of the given node object is zero.

Namespace: yWorks.yFiles.Layout.Labeling
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
protected virtual void CheckNodeSize( IGraphLayout layout, Object node )
Visual Basic
Protected Overridable Sub CheckNodeSize ( _ layout As IGraphLayout, _ node As Object _ )

Parameters

layout
Type: yWorks.yFiles.Layout..::..IGraphLayout
a graph layout object.
node
Type: System..::..Object
the node object to test.

Remarks

This method throws an ArgumentException if the width/height of the given node object is zero. It is called by the label-methods for each node object in the input graph.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionthrown if the width/height of the node object is zero.

See Also