Gets or sets what width/height ratio the layout area should have.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Layout
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 ratio. 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.