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

Fontdialog code not working: want to change diagram text node

Thread ID:





99115 Apr 28,2011 09:54 PM UTC May 2,2011 09:50 AM UTC ASP.NET Web Forms (Classic) 2
Tags: DiagramWebControl
Administrator [Syncfusion]
Asked On April 28, 2011 09:54 PM UTC

This code not only shows the dialog box twice, but the font and its size is not applied to the text. I don't know where I'm going wrong. I've tried it with several different combinations of code. Please help.

Private Sub btnFontDialog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFontDialog.Click
Dim strFamilyName As String = FontDialog1.ShowDialog.ToString
If FontDialog1.ShowDialog() <> DialogResult.Cancel Then
Me.Diagram1.Controller.TextEditor.FamilyName = strFamilyName
End If
End Sub
Thank you.

Administrator [Syncfusion]
Replied On April 28, 2011 09:56 PM UTC

wrong forum. will post in windows forms.

Amsath Ali M [Syncfusion]
Replied On May 2, 2011 09:50 AM UTC

Hi Diane,

Thanks for the update.

Since you have created DirectTrac incident 79905 for your query, please refer that incident for better follow up.

Amsath Ali.M


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

or the page will be automatically redirected to 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