BoldSignA modern eSignature application with affordable pricing.
Sign up today for unlimited document usage!
I have two nodes, a text node and a rectangle node. I would like to put the text at the front and the rectangle behind so that, when I select the text, this is the first you select.
It is like in a word document, when you insert a shape you could put an order, behind, at the front....
Could you help me?
Thanks for your interest in Syncfusion products.
We suggest you to use the Diagram.Controller’s ‘BringToFront’
method to bring the selected node to the front of the Z-order. Please refer the
below code snippet to achieve your requirement.
Here is the code:
TextNode txt = new TextNode("Bring the textNode to front", new RectangleF(100,
100, 100, 70));
Syncfusion.Windows.Forms.Diagram.Rectangle rect = new
100, 100, 70);
the selected nodes (textNode) to the front of the Z-order.
For more information, please visit the below UG documentation
Please refer the below attached sample and let us know if
you have any queries.
Amsath Ali. M