ASP.NET Pack Programmer's Guide
AnnealLayout.WidthHeightRatio Property
See Also
 





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

Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float WidthHeightRatio { get; set; }

Visual Basic  Copy Code

Public Property WidthHeightRatio As Single

 Property Value

A float value specifying the layout area width to height ratio. 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

AnnealLayout Members
AnnealLayout Class
MindFusion.Diagramming.Layout Namespace