Is there a way to have more then one Drawing Font Style apply to a GeoFont? For example can both Bold and Underline be applied?
Mark
Is there a way to have more then one Drawing Font Style apply to a GeoFont? For example can both Bold and Underline be applied?
Mark
Mark, you bitwise OR them together. In C# it would be
DrawingFontStyles styles = DrawingFontStyles.Bold | DrawingFontStyles.Italic;
GeoFont gf = new GeoFont(“Arial”, 10, styles);
Haven’t used VB in years but I imagine it would be similar.
Allen
Hi Allen,Thank you very much for the reply. Mark, actually, it should be similar to the solution shown by Allen. Please check the attached demo code in VB and C# for details.
Thanks,
Johnny
Post11076Sample.txt (3.41 KB)
Johnny, it didn’t occur to me at the moment that this was probably covered in one of the examples, but it was easier to write those two lines than go look for one!
Allen
heh, Allen, thanks for your kind reminder, Johnny