how to stop symbol flipping

Hi, please guide me how can I stop the flipping of the symbol. I have drawn a symbol on the diagram, resize of the symbol is allowed but flipping is not allowed please guide me how can I achieve this functionality.
Regards,



1 Reply

AD Administrator Syncfusion Team March 13, 2008 09:45 AM UTC

Hi Ali,

Thank you for using Syncfusion Products.

FlipX and FlipY properties of Node are set to false by default.
If your intention is stop the rotate symbol that comes along with node, then you have to set can set the AllowRotate property to false.
Refer the code snippet:
Node n = this.diagram1.Model.GetChild(i);
n.FlipX = false;
n.FlipY = false;
n.EditStyle.AllowRotate = false;

Please refer the sample in the below link that illustrates the above:
http://websamples.syncfusion.com/samples/Diagram.Windows/42242/main.htm
http://websamples.syncfusion.com/samples/Diagram.Windows/42242/main.htm

Please let me know if this helps.

Regards,
Anupama


Loader.
Up arrow icon