SU
sun
June 23, 2008 06:25 AM UTC
I mean that the label font direction is set. So How do I set the font direction of the label? I want to set the font direction of the label is vertical, but I don't know how to do. Can you help me?
J.
J.Nagarajan
Syncfusion Team
June 23, 2008 01:57 PM UTC
Hi Kawashima ,
Thanks for your interest in Syncfusion products.
The diagram does not support to rotate the labels. If you want to display the text vertically then you have to use TextNode instead. You can rotate the text node by using it Rotate() method.
TextNode m_textNode = new TextNode("MyText");
m_textNode.PinPoint = new System.Drawing.PointF(50, 60);
m_textNode.Size = new System.Drawing.SizeF(75, 30);
m_textNode.Rotate(90);
this.diagram1.Model.AppendChild(m_textNode);
Please let me know if this helps.
Thanks,
Nagaraj