Search
AnnealLayout.WidthHeightRatio Property
See Also
 





Gets or sets what width/height ratio the layout area should have.

Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public double WidthHeightRatio { get; set; }

Visual Basic  Copy Code

Public Property WidthHeightRatio As Double

 Property Value

A double value specifying the layout area width to height ration. The default is 1.

 Remarks

If the LayoutArea is not explicitly set, the algorithm will choose one suitable for the graph size. In that case the WidthHeightRatio property specifies how much larger the layout area width should be than its height.

 See Also