AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Monotype corsiva italic2/12/2023 ![]() I'm sorry this was just a small extract used with debug with breakpoints to show that the selection font went to nothing when font was switched to corsiva. ![]() I have seen posts that show this font does not have a "regular" style but is there a way round this, presumably other fonts could exist that cause the same problem. If I set the default font for the box to be monotype corsiva this starts fine, picks up font changes to say Arial but errors when reverting later back to monotype. The new colour and backcolour have been updated correctly but the box.selectionfont is nothing. This works fine until i reach a change of font to monotype corsiva which errors as Null Reference exception was caught. This is based on several published suggested methods and covers change of colour, backcolour and font. I have a small test program that iterates character by character to read through the contents of a richtextbox and convert to html to include in an e-mail.
0 Comments
Read More
Leave a Reply. |