Mudança da fonte de emergência e fonte nos estilos

Como mudar a fonte de emergência e fonte nos estilos

Problema: Como mudar a fonte de emergência e fonte nos estilos (CADNET-1060).

Dicas: Para fazer isso, use o campo DefaultFont no desenho.

Exemplo:

using (CadImage cadImage = (CadImage)Image.Load(fileName))
{
cadImage.DefaultFont = "Microsoft JhengHei UI";
}
AND/OR
using (CadImage cadImage = (CadImage)Image.Load(fileName))
{
foreach (CadStyleTableObject style in cadImage.Styles)
{
style.PrimaryFontName = "Microsoft JhengHei UI";
}
}