Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

How to display font with UTF-8 coding charset in MapControl (C#) ?

$
0
0
Hi,

I can display Unicode font without error. But, I got font error when trying to use UTF-8 font.

Are there anyone know how to fix it ?

I used below statements to set font:

Code:

IFontDisp pFont = new StdFontClass() as IFontDisp;
pFont.Name = "Times New Roman";
IFormattedTextSymbol formatTextSyl = new TextSymbolClass();
formatTextSyl.Font = pFont;

....


Thank you very much !

Viewing all articles
Browse latest Browse all 1374

Trending Articles