Enum DistributeOptions
Distribute the options that enable you to place the selected objects on the page at equal intervals from each other.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum DistributeOptions
Remarks
The selected objects are equally spaced within the selection boundary.
Examples
private void Distribute()
{
diagram.SetDistribute(DistributeOptions.Left);
}
Fields
| Name | Description |
|---|---|
| Bottom | Distributes the objects based on the distance between the bottom sides of the adjacent objects. |
| BottomToTop | Distributes the objects based on the distance between the bottom and top sides of the adjacent objects. |
| Center | Distributes the objects based on the distance between the centers of the adjacent objects. |
| Left | Distributes the objects based on the distance between the left sides of the adjacent objects. |
| Middle | Distributes the objects based on the distance between the vertical centers of the adjacent objects. |
| Right | Distributes the objects based on the distance between the right sides of the adjacent objects. |
| RightToLeft | Distributes the objects based on the distance between the right and left sides of the adjacent objects. |
| Top | Distributes the objects based on the distance between the top sides of the adjacent objects. |