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

Exception using Monotype Corsiva Fontname

Thread ID:

Created:

Updated:

Platform:

Replies:

4069 Apr 27,2003 08:22 PM UTC Apr 28,2003 05:50 AM UTC WinForms 1
loading
Tags: GridControl
Sue Harris
Asked On April 27, 2003 08:22 PM UTC

Hi, I'm changing the fontname of my grid and if I choose Monotype Corsiva the cells go red and the text changes to "Exception". In the CellStyle sample I get an error Invalid Property. I don't get this problem for any other font installed on my machine. Can anyone give me any idea why this happens? Thanks, Sue

Administrator [Syncfusion]
Replied On April 28, 2003 05:50 AM UTC

The reason you are seeing this is that Monotype Corsiva does not support regular font. You also need to set Italic. With the upcoming 1.6 release the error is handled a little better, but it still throws an exception at that point. If you wanted to catch this error, then one way would be to derive your grid, override OnDrawItem and put the call to the base class in a try block.

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.

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

;