跳過到頁腳內容
PM > Install-Package IronWord

IronWord

NugetNuGetPassed 查看最新內容:

跨平台支援

專為在 .NET 10、9、8、7、6、5、Core、Standard 或 Framework 上執行的 C#、F# 和 VB.NET 所設計。

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

以準確性、易用性和速度為優先的 C# Word Library。

IronWord是一個 C# Word DOCx 函式庫,用於在 .NET 中產生和編輯 Word 文件。其使用者友善的 API 可讓開發人員在幾分鐘內將 Word 文件處理功能加入 .NET 專案中。

立即獲取您的免費 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 專案類型
  • 網頁 (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)
IDE
  • Microsoft Visual Studio
  • JetBrains ReSharper 和 Rider
作業系統和處理器
  • Windows, macOS, Linux, iOS, Android
  • x64, x86, ARM
二進制證書
  • DigiCert 簽署的二進制檔

文檔結構

讀取和編輯 Word
  • 提取文本和圖像
編輯頁面設置
  • 紙張尺寸
  • 頁面方向
  • 自定義邊距
  • 背景顏色
添加段落
  • 添加和刪除 TextRuns
  • 添加圖像
  • 添加形狀
  • 設置樣式
  • 設置對齊 (左對齊、居中、右對齊和兩端對齊)
  • 添加子彈和編號列表
添加表格
  • 添加行和列 (前插入和後插入)
  • 刪除行和列
  • 設置和獲取單元格值 (索引)
  • 合併和拆分單元格
  • 設置邊框 (值、尺寸、間距和顏色)
  • 設置佈局尺寸

文檔元素

添加文字運行
  • 文本內容 (添加、附加和拆分)
  • 設置樣式 (字體族和大小、顏色、粗體和斜體、刪除線、下劃線、上標和下標)
  • 嵌入圖像
添加圖像
  • 載入圖片 (檔案及文件流)
  • 設置文本環繞
  • 設置尺寸 (寬度和高度)
  • 設置位置偏移
  • 設置與角落的距離
添加形狀
  • 設置形狀類型
  • 設置文本環繞
  • 設置尺寸 (寬度和高度)
  • 設置位置偏移
  • 設置旋轉
世界級工程,
24小時支持
  • Support Team Member 2 related to C# Word DOCX Library (Without Using Office Interop) | IronWord. C# DOCX Library。在 ....
  • Support Team Member 4 related to C# Word DOCX Library (Without Using Office Interop) | IronWord. C# DOCX Library。在 ....
  • Support Team Member 6 related to C# Word DOCX Library (Without Using Office Interop) | IronWord. C# DOCX Library。在 ....
  • Support Team Member 7 related to C# Word DOCX Library (Without Using Office Interop) | IronWord. C# DOCX Library。在 ....
  • Support Team Member Iron related to C# Word DOCX Library (Without Using Office Interop) | IronWord. C# DOCX Library。�...
與專家交談
準備好開始了嗎?
Nuget 下載 28,054 | 版本: 2025.12 剛發表