AddFontResource

    AddFontResource - Font(글꼴) 추가하기

    AddFontResource함수는 현재 System에 지정된 Font(글꼴)를 추가시키는 함수입니다. Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFileName As String) As Integer ▶VB.NET 선언 [DllImport("gdi32")] public static extern int AddFontResource(string lpFileName); ▶C# 선언 AddFontResource(path) ▶VB.NET 호출 AddFontResource(path); ▶C# 호출 함수의 path인수에는 추가할 Font File을 지정합니다. 예를 들어 abc.TTF(true type) 라는 글꼴 Fi..