I would like to be able to create a custom GeoFont with the ability to have both Bold and Italic style attributes. I am not able to find a way to do this using the.Style attribute of the GeoFont.
The code as below should be what you want:
DrawingFontStyles draingFontStyles = DrawingFontStyles.Bold | DrawingFontStyles.Italic | DrawingFontStyles.Underline; GeoFont font = new GeoFont("Arial", 10, draingFontStyles);
That worked for me thank-you for your help!
I am glad to hear that works.