IRONSOFTWAREHOME
建立字型
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;
Imports IronSoftware.Drawing

' Create a new Font object
Dim font As New Font("Times New Roman", FontStyle.Italic Or FontStyle.Bold, 30)

' Casting between System.Drawing.Font and IronSoftware.Drawing.Font
Dim drawingFont As New System.Drawing.Font("Courier New", 30)
Dim ironFont As Font = drawingFont

Dim fontf = ironFont.FamilyName
Dim style = ironFont.Style
Dim sizef = ironFont.Size
Dim isItalic = ironFont.Italic
Dim isBold = ironFont.Bold
NuGet Download
PM > Install-Package IronSoftware.System.Drawing
建立字型

建立字型

準備開始了嗎?

Nuget Downloads 20,274,271版本:2026.11剛剛發布

Key in blue circle

立即免費取得 30 天試用金鑰。

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronDrawing
獲取您的無義務諮詢
您的詳細資訊將始終保密。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
被全球數百萬工程師信任
立即獲取您的30天試用金鑰。
無需信用卡或帳戶建立