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. Image for the cookie policy date
close icon

non-rotating label

Hi,

I'm evaluating your diagram control and have a few questions.
I'll post each question separate so it's easier to find it via the subject. Thanks for your help in advance..

I need a node(rectangle or polyline) with a centered label. Property AllowRotate is set to True.
If the user rotates the node, I want the label text to stay horizontal readable.
I think you already answered a similar question for a label of a connector which could be the solution I'm looking for with this sample:
http://help.syncfusion.com/support/Diagram.Windows/F93710/main.htm
Although this sample is in C# and I'm using VB, I think I could get the solution from this sample.
The problem is, I cannot download this sample; the link doesn't work, and I also had no luck with downloading each file separatly from the folder F93710 which still exists.

Thanks a lot for your help,
Franz

3 Replies

JB Jaffersathick B Syncfusion Team June 28, 2010 11:36 AM UTC

Hi Franz,

Thank you for evaluating Syncfusion products.

You can use Custom Label to achieve this by inheriting the Label class. Please refer below sample which illustrates this:

Sample Link:

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=VB331681650.zip

Please try this and let me know if this helps.

Thanks,
Jaffer.B




FS Franz Scharf June 28, 2010 12:25 PM UTC

Perfect!

Thanks a lot for your quick help,
Franz


JB Jaffersathick B Syncfusion Team June 29, 2010 09:46 AM UTC

Hi Franz,

Thanks for the update

We are very much glad that the issue is resolved.Please do not hesitate to get back to us for further concerns

Regards,
Jaffer

Loader.
Live Chat Icon For mobile
Up arrow icon