Created
January 27, 2020 10:26
-
-
Save bjoerntx/20fcf0d3ebbfd40573f421e6d11e6eb4 to your computer and use it in GitHub Desktop.
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 System.Runtime.InteropServices; | |
namespace myFirstAzureWebApp.Helpers | |
{ | |
public class Fonts | |
{ | |
[DllImport("gdi32", EntryPoint = "AddFontResource")] | |
public static extern int AddFontResourceA(string lpFileName); | |
[System.Runtime.InteropServices.DllImport("gdi32.dll")] | |
public static extern int AddFontResource(string lpszFilename); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment