NOte that GeoFont does not have setting function for you to set styles: Bold, or Italic but read properties.
The only init function you can only set one style through DrawingFontStyles.
can do something DrawingFontStyles.Bold | DrawingFontStyles.Italic
is this right?
A basic question of GeoFont Style setting
Guangming,
Yes, we don’t provide the set function for those properties and only set them in the constructor, like the below codes:
new GeoFont(“Arial”, 12, DrawingFontStyles.Bold | DrawingFontStyles.Italic);
Thanks,
Troy
that works! Thanks,
Good to hear it works.
Any questions, please feel free to let us know.
Thanks,
Troy