Create Font
Ready to Get Started?
Nuget Downloads 14,369,273 | Version: 2025.3 just released
using IronSoftware.Drawing;
// Create a new Font object
Font font = new Font("Times New Roman", FontStyle.Italic | FontStyle.Bold, 30);
// Casting between System.Drawing.Font and IronSoftware.Drawing.Font
System.Drawing.Font drawingFont = new System.Drawing.Font("Courier New", 30);
Font ironFont = drawingFont;
var fontf = ironFont.FamilyName;
var style = ironFont.Style;
var sizef = ironFont.Size;
var isItalic = ironFont.Italic;
var isBold = ironFont.Bold;Install-Package IronSoftware.System.Drawing