Rotating a Symbol with TextNode.EditStyle.AllowRotate = false

In Essential Studio V3.3.0.0: I have a Symbol Model which contains a text node with some text. When I rotate a Symbol created from this Symbol Model, I want to prevent the text node from rotating. I.e. everything but the text rotates. I tried setting TextNode.EditStyle.AllowRotate = false both in the Symbol Designer and at runtime when I insert the symbol. Unfortunately the TextNode is still rotated. Is this the intended behaviour? As a workaround, I can rotate the TextNode back again after rotating the Symbol, but this seems a bit messy (and I need the rotation degree in the RotateEventArgs, but it doesn''t seem to be there).

1 Reply

AD Administrator Syncfusion Team March 7, 2006 05:31 AM UTC

Hi,   I am sorry about this delay in responding. EssentialDiagram TextNode has been designed in such a way that if you rotate it, the text inside the textnode will also get rotated. If your intension is to prevent the text inside a symbol from being rotated then you can use labels instead of textnode.   Please let us know if you have any further questions.   Regards, Praveena.

Loader.
Up arrow icon