BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
I would like to align the graphical objects selected in the diagram control in top, middle and botton (vertically and horizontally) of the grid.
Could you help on this ?
Regards,
Rabah Toulaït
Hi Rabah,
Thanks for your interest in Syncfusion products.
If your intention is to align the nodes using certain
layout, then we suggest you to refer our dashboard samples under the category “Layout
Algorithm” which demonstrates the alignment of nodes using default layout
managers in the diagram control.
You can also find the sample in the below location:
..\..\AppData\Local\Syncfusion\EssentialStudio\{installedVersion}\
Windows\Diagram.Windows\Samples\2.0\Layout Algorithm
You can also run the samples through dashboard using the
below steps:
Run the Dashboard-> Windows Forms-> Run the Samples
-> Diagram-> Layout Algorithm
Please let us know if you have any queries.
Regards,
Amsath Ali. M
Hi Rabah,
Thanks for your update.
We suggest you to use the diagram’s ‘AlignLeft/Right/Center/Top/Bottom/Middle
methods to achieve your requirement. Please refer our dashboard sample “Commands” under
the category “Getting Started” which demonstrates the alignment of nodes in the
diagram control.
You can also find the sample in the below location:
..\..\AppData\Local\Syncfusion\EssentialStudio\{installedVersion}\
Windows\Diagram.Windows\Samples\2.0\Getting Started\Commands
You can also run the samples through dashboard using the
below steps:
Run the Dashboard-> Windows Forms-> Run the Samples
-> Diagram-> Getting Started -> Commands
Please let us know if you have any queries.
Regards,
Amsath Ali. M