跳至頁尾內容
PM > Install-Package IronWord

IronWord

Nuget NuGetPassed 查看最新動態:

跨平台支援

專為在 .NET 10、9、8、7、6、5、Core、Standard 或 .NET Framework 環境下運行的 C#、F# 及 VB.NET 設計

.NET 標誌
Visual Studio 標誌 Visual Studio 標誌
NuGet 標誌 NuGet 標誌
ReSharper
Windows 標誌
Linux 標誌
Mac 標誌
Docker 標誌 Docker 標誌
Azure 標誌 Azure 標誌
AWS 標誌 AWS 標誌

一款以精準度、易用性與速度為優先考量之 C# WORD 函式庫。

IronWord 是一款用於在 .NET 環境中生成和編輯 Word 文件的 C# Word DOCx 程式庫。其直觀的 API 讓開發人員能在數分鐘內為 .NET 專案新增 Word 文件處理功能。

立即獲取您的免費 30 天試用金鑰

建立及編輯 DOCX 檔案。無需 Office Interop。

相容性

.NET 版本
  • C#、VB.NET、F# 程式語言
  • .NET Core (10、9、8、7、6、5 及 3.1+)
  • .NET Standard (2.0+)
  • .NET Framework (4.6.2+)
.NET 專案類型
  • Web (Blazor 與 WebForms)
  • 行動裝置 (Xamarin & MAUI)
  • 桌面版 (WPF & MAUI)
  • 控制台 (應用程式與函式庫)
應用程式環境
  • Windows (10+,Server 2016+)
  • Linux (Ubuntu、Debian、CentOS 等)
  • iOS (12+)
  • Android API 21+ (v5 “Lollipop”)
  • Docker (Windows、Linux、Azure)
  • Azure (VPS、WebApp、Function)
  • AWS (EC2, Lambda)
整合開發環境 (IDEs)
  • Microsoft Visual Studio
  • JetBrains ReSharper & Rider
作業系統與處理器
  • Windows、macOS、Linux、iOS、Android
  • x64、x86、ARM
二進位認證
  • DigiCert 簽署二進位檔

文件結構

讀取與編輯 WORD
  • 擷取文字與圖片
編輯頁面設定
  • 紙張尺寸
  • 頁面方向
  • 自訂邊距
  • 背景顏色
新增段落
  • 新增與移除文字區段
  • 添加圖片
  • 新增圖形
  • 設定樣式
  • 設定對齊方式 (左對齊、居中、右對齊及兩端對齊)
  • 新增項目符號與編號清單
新增表格
  • 新增列與欄 (插入「翻譯前」與「翻譯後」)
  • 移除列與欄
  • 設定與取得儲存格值 (索引)
  • 合併與分割儲存格
  • 設定邊框 (價值、尺寸、空間與色彩)
  • 設定版面尺寸

文件元素

新增文字區塊
  • 文字內容 (新增、追加與分割)
  • 設定樣式 (字型家族與大小、顏色、粗體與斜體、刪除線、底線、上標與下標)
  • 嵌入圖片
添加圖片
  • 載入圖片 (File & FileStream)
  • 設定文字換行
  • 設定尺寸 (寬度與高度)
  • 設定位置偏移量
  • 設定距角落的距離
新增圖形
  • 設定形狀類型
  • 設定文字換行
  • 設定尺寸 (寬度與高度)
  • 設定位置偏移量
  • 設定旋轉

每當開發者提出需求時,我們總會給出肯定的答覆 IronWord

switch(faqQuestions)
{ 
    case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
    case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
    case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
    case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
    case "Is IronPDF compatible with Azure Functions?": return "YES";
    case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
    case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
    case "Can I access PDF DOM through ObjectModel property?": return "YES";
    case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
    case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
    case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
    case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
    case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}

IronWord 是否能在未安裝 Microsoft Office 或 Office Interop 的情況下,建立、載入及編輯 .docx 檔案?是的!

它是否完全支援跨平台,涵蓋 Windows、Linux、macOS、Docker 及 Azure 上的所有主要 .NET 版本?是的!

能否在執行層級控制文字樣式(字型、大小、顏色、刪除線、粗體/斜體)?是的!

是否有完整的 API 可用於建立和編輯表格,包括合併儲存格、邊框、底色和欄寬?是的!

能否從檔案或串流中插入圖片,並控制其尺寸與對齊方式?可以!

是否支援透過個別 TextRuns 和 Paragraphs 進行細粒度的內容插入與編輯?是的!

文件能否儲存至 MemoryStream 或 byte[] 並透過 HTTP 傳輸,而無需寫入磁碟?是的!

它是否支援在單一檔案中包含具有不同頁面佈局的多個文件區段?是的!

能否建立具有自訂縮排與嵌套結構的項目符號清單和編號清單?可以!

此授權是否支援伺服器端環境,且能無需受限於執行緒數而進行並行處理?是的!

它能否妥善處理格式錯誤的文件,以防止批次處理期間發生當機?是的!

我現在可以免費在實際專案中測試 IronWord 嗎?是的! Icon Arrow related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronWord 點擊此處開始您的 30 天試用

Floating Left Top related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronWord
Floating Right Bottom related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronWord
世界級工程,
24小時支援
  • Support Team Member 2 related to C# DOCX 函式庫
  • Support Team Member 4 related to C# DOCX 函式庫
  • Support Team Member 6 related to C# DOCX 函式庫
  • Support Team Member 7 related to C# DOCX 函式庫
  • Support Team Member Iron related to C# DOCX 函式庫
與專家交談
準備開始了嗎?
Nuget 下載 44,829 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronWord
執行範例 觀看您的資料轉為 WORD 文件。

鋼鐵支援團隊

我們每週 5 天,每天 24 小時在線上。
聊天
電子郵件
打電話給我