Sets the preferred layout size for this layouter.

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

Syntax

C#
public virtual void SetPreferredLayoutSize( double width, double height )
Visual Basic
Public Overridable Sub SetPreferredLayoutSize ( _ width As Double, _ height As Double _ )

Parameters

width
Type: System..::..Double
the preferred width of the calculated graph layout.
height
Type: System..::..Double
the preferred height of the calculated graph layout.

Remarks

Sets the preferred layout size for this layouter.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionwhen width or height is negative or zero.

See Also