The desired aspect ratio of the resulting layout bounds.

Namespace: yWorks.yFiles.Layout.Orthogonal
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual double AspectRatio { get; set; }
Visual Basic
Public Overridable Property AspectRatio As Double Get Set

Remarks

Getter:
Returns the desired aspect ratio of the resulting layout bounds.

Setter:
Sets the desired aspect ratio (i.e. the quotient width/height) of the resulting layout bounds. By default a value of 1 is set. This setting will only have an effect if the set PartitionLayouter..::..IPartitionPlacer is of the pre-configured type PartitionLayouter..::..ComponentPartitionPlacer .
Note: When setting configurable stages after specifying aspect ratio, it is assumed that the aforementioned stages are already properly configured and the previously set aspect ratio will not be passed to these stages.

See Also