Gets or sets what width/height ratio the layout area should have.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public double WidthHeightRatio { get; set; } |
Visual Basic Copy Code |
---|
Public Property WidthHeightRatio As Double |
A double value specifying the layout area width to height ration. The default is 1.
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.