am wondering what fonts are available for custom labeling and styling?
I guess would be all the fonts defined/installed on the server? How to get the list?
Available font families for labelling and styling?
Hi Guangming,
Yes, all the font families which are installed in the current machine are also supported in MapSuite style. We can follow the below statements to get the supported families:
InstalledFontCollection fonts = new InstalledFontCollection();
FontFamily[] fontFamilies = fonts.Families;
Collection<string> fontNames = new Collection<string>();
foreach (var item in fontFamilies)
{
fontNames.Add(item.Name);
}
Any questions, please feel free to let us know.
Thanks,
Troy
thank you very much. That answered exactly my question.
Hi Guangming,
Good to hear it works for you.
Any questions, don’t hesitate to let us know.
Regards,
Troy