비상 글꼴 및 스타일의 글꼴 변경
Contents
[
Hide
]비상 글꼴 및 스타일의 글꼴 변경 방법
문제: 비상 글꼴 및 스타일의 글꼴 변경 방법 (CADNET-1060).
팁: 이렇게 하려면 도면의 DefaultFont 필드를 사용하십시오.
예시:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | |
} | |
} |