Gets or sets what width/height ratio the layout area should have.
Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming
C# Copy Code |
---|
public float WidthHeightRatio { get; set; } |
Visual Basic Copy Code |
---|
Public Property WidthHeightRatio As Single |
A float 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.