Class SizingMode
Specifies how to equally size the selected nodes with respect to the first selected object.
Inheritance
System.Object
SizingMode
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class SizingMode : Enum
Examples
private void OnSameSize()
{
diagram.SetSameSize(SizingMode.Both);
}
private void OnSameWidth()
{
diagram.SetSameSize(SizingMode.Width);
}
private void OnSameHeight()
{
diagram.SetSameSize(SizingMode.Height);
}
Fields
Both
Scales the selected objects both vertically and horizontally.
Declaration
public const SizingMode Both
Field Value
Type |
---|
SizingMode |
Height
Scales the height of the selected objects.
Declaration
public const SizingMode Height
Field Value
Type |
---|
SizingMode |
Width
Scales the width of the selected objects.
Declaration
public const SizingMode Width
Field Value
Type |
---|
SizingMode |