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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing the Text Family

Thread ID:





61507 May 28,2007 10:43 AM UTC May 30,2007 01:38 PM UTC WinForms 6
Tags: Diagram
Faheem Rauf
Asked On May 28, 2007 10:43 AM UTC

I have a class that inherits from Symbol, and it contains a TextNode, now when ever I try to change the font family of my TextNode it generates problem.

this.textNode.FontStyle.Family = "vivaldi";

plz guide me regarding this issue, I will be thankful to you.

Meera Fathima [Syncfusion]
Replied On May 28, 2007 12:32 PM UTC

Hello Ali,

If you are using v5.1 version of Essential Diagram, you should not use Symbol as this class is obsolete in v5.1. Please refer the Diagram samples\Dynamic Symbol sample's MySymbol class constructor that demonstrates how to create custom shape and to add text node to it.

I have tested setting the this.m_textNode.FontStyle.Family = "Impact" and it seems this is working fine.
Please let me know if you have any queries.


Faheem Rauf
Replied On May 28, 2007 12:55 PM UTC

Hi, use "vivaldi" instead of "Impact", and i am using V4.4. plesae check it and let me know, i will be thankful to you.

Meera Fathima [Syncfusion]
Replied On May 29, 2007 06:35 AM UTC

Hello Ali,

Thanks for the details. I don't have "Vivaldi" font installed. But I have tested with "Vivaldi Italic" font and found that this font style is not getting applied on text node's text. Could you please open a new DT incident with the subject of this forum. So that you can get the status of this issue and follow-up with this through Direc Trac.

Thanks for bringing this issue into our attention.

P.S : All other font names are getting applied fine. Please let me know if you have any more queries regarding this.

Best Regards,

Meera Fathima [Syncfusion]
Replied On May 29, 2007 11:33 AM UTC

Hello Ali,

I have downloaded the Vivaldi font and tested this issue. It seems it is working fine. I have created a sample and attached the sample with this post. You can get the sample from the following link - http://websamples.syncfusion.com/samples/Diagram.Windows/F61507/main.htm

Sample Details :

1. Creates custom symbol that has text node as a child node. This is demonstrated in sample's MySymbol.cs class.

2. The text node's text font family uses "vivaldi" type font.

Also please make sure that you have the TextNode.FontStyle.Italic is set to true.

Please look into the sample and let me know if you have any more queries.


Faheem Rauf
Replied On May 29, 2007 01:30 PM UTC

Hi, thanks a lot for your help.
How can I check out that “Vivaldi” does not support Regular ? I mean to say that can I trace out that up coming font doesn’t support regular style.


Ramya R [Syncfusion]
Replied On May 30, 2007 01:38 PM UTC

Hi Ali,

The Vivaldi type of Font is a type of Custom Font.
A particular Custom Font Type supports regular or italic style depending on the way it is manufactured. So kindly contact the manufacturer regarding your query here.

Please let me know if you have further queries.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon