The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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);