We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I set the font direction?

Thread ID:

Created:

Updated:

Platform:

Replies:

74613 Jun 23,2008 02:22 AM Jun 23,2008 09:57 AM Windows Forms 2
loading
Tags: Diagram
sun
Asked On June 23, 2008 02:22 AM

How do I set the font direction? I want to set the font direction is vertical, but I don't know how to do. Can you help me?


sun
Replied On June 23, 2008 02:25 AM

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.Nagarajan [Syncfusion]
Replied On June 23, 2008 09:57 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;