---
title: "特點"
---


Aspose.Words為用戶提供了一系列功能。 使用者可以執行大量與文件相關的任務 – 從將文件從一種支援的格式轉換為另一種，並會在轉換過程時修改這些文件到商業任務，例如建立結構化且具有视觉吸引力的文件或自動化報告。

現代的文件格式與標準非常複雜，當你的項目需要文書轉換或其它文書處理功能時，有時唯一的實用性解決方案是依賴第三方元件來實作所需的功能。 但使用第三方組件總是存在一些風險。 在處理文件的過程中，其中最獨特的風險是：館員如何完全且正確地實施某個文件格式或標準。

Aspose致力於提供最完整且精確的文件格式與標準實作。 Aspose.Words團隊透過在多個平台上為受支援的文件格式提供詳細的實作筆記，顯示他們對互操作性的承諾。

下列表格總結並比較 Aspose.Words 在 .NET 功能的可用性，並提供到詳細功能描述之連結。

## 平台概覽

.NET 的平台 Aspose.Words 可與以下列出的平台使用。 如果您需要支援更多平台，請尋找 Aspose.Words 的雙胞胎兄弟產品 Java。

| 特點 | 描述 |
| :- | :- |
| [.NET Framework](/words/net/supported-platforms/#net-framework) | 使用 Aspose.Words for .NET 來建立 ASP.NET、Web 服務、WinForms 或任何其他類型的應用程式，適用於所有 .NET Framework 版本 2.0 或更高版本，包括 Client Profile 版本。 完全支援32位和64位。 |
| [.NET Standard 2.0](/words/net/supported-platforms/#net-standard-20) | netstandard2.0和netstandard2.0_AuthenticodeSigned文件夹包含可以在使用以.NET Standard 2.0為基礎之框架的程式庫，例如.NET Core 2.0/2.1/2.2/3.0/3.1。 最新版本的 Aspose.Words API 也支援 .NET 5.0 和 .NET 6.0。 |
| [Xamarin.Android](/words/net/supported-platforms/#xamarinandroid) | 在您的本地 Android 應用程式中使用 Aspose.Words 來使用 .NET。 |
| [Xamarin.iOS](/words/net/supported-platforms/#xamarinios) | 在您的原生 iOS 應用程式中使用 Aspose.Words 來使用 .NET。 |
| [Xamarin.Mac](/words/net/supported-platforms/#xamarinmac) | 在您的本地 Mac 應用程式中使用 Aspose.Words 替代 .NET。 |
| [COM](/words/net/supported-platforms/#com) | 如果你必須用舊版 .NET 技術來開發，那麼它就可能是你的救命稻草。 |
| [Mono](/words/net/supported-platforms/#mono) | 您可以使用 Aspose.Words 來使用 Mono 建立應用程式。 |
| [Windows Azure](/words/net/supported-platforms/#windows-azure) | 是的，Aspose.Words for .NET 在 Windows Azure 上運行。 |

## 檔案格式與轉換

全球許多客戶依賴 Aspose.Words 提供的全面文件進出口功能。

| 特點 | 描述 | .NET》 | .NET 標準 2.0 | Xamarin.Android | Xamarin.iOS |  Xamarin .Mac |
| :- | :- | :- | :- | :- | :- | :- |
| [`Microsoft Word - DOC`](/words/zh-hant/net/file-formats-and-conversions/) | 您可以找到的最快速、最完整的 DOC 格式實作。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`WordprocessingML - DOCX and XML`](/words/zh-hant/net/file-formats-and-conversions/) | Aspose.Words 提供全面的支援 OOXML、Flat OPC，也支援 Word 2003 XML。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`Rich Text Format - RTF`](/words/zh-hant/net/file-formats-and-conversions/) | 支援多种格式的RTF，以與各種應用程式互動。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`HTML, XHTML and MHTML`](/words/zh-hant/net/file-formats-and-conversions/) | 載入並儲存 HTML/XHTML，以獲得更好的互操作性。 儲存為MHTML也是可用的。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`OpenDocument - ODT`](/words/zh-hant/net/file-formats-and-conversions/) | Aspose.Words 能以 `OpenDocument` Text (.odt) 格式載入與儲存文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`Adobe Portable Document Format - PDF`](/words/zh-hant/net/file-formats-and-conversions/) | 將任何文件轉換為具有高忠實度的PDF。 PDF/A受支援。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`XML Paper Specification - XPS`](/words/zh-hant/net/file-formats-and-conversions/) | 將任何文件轉換為 XPS 高忠實度。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`Plain Text - TXT`](/words/zh-hant/net/file-formats-and-conversions/) | 透過以 `plain text` 格式儲存，輕鬆提取文字。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`Digital Publishing EPUB`](/words/zh-hant/net/file-formats-and-conversions/) | EPUB 是電子書的流行格式。 您可以將任何文件從 Aspose.Words 轉換為 IDPF EPUB 格式。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| [`Printer Command Language (PCL)`](/words/zh-hant/net/file-formats-and-conversions/) | Aspose.Words for .NET提供將檔案儲存為 PCL 格式的支援。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |

## 渲染與列印

Aspose.Words 現在可提供高品質的文書頁面渲染。

| 功能 | .Net | .NET Standard 2.0 | Xamarin.Android | Xamarin.iOS | Xamarin. Mac |
| :- | :- | :- | :- | :- | :- |
| 以高品質將文件劃分為頁面（正如 Microsoft Word® 會做的那樣），並將其格式化如下。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將個別頁面或完整文件渲染為 PDF 或 XPS。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將 dokumen頁面渲染為 BMP 圖像 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/cross >}} | {{< emoticons/cross >}} | {{< emoticons/cross >}} |
| 將文書頁面轉換成圖像（PNG、EMF、JPEG、GIF）。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將文檔中的個體形狀轉換為圖形或向量圖像。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 指定圖像解析度、品質、壓縮和其他選項。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將頁面或形狀渲染到具有轉換的 .NET 圖形物件中，以特定尺寸為目標。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 透過 .NET 列印基礎架構列印文件頁面。 | {{< emoticons/tick >}} | {{< emoticons/cross >}} | {{< emoticons/cross >}} | {{< emoticons/cross >}} | {{< emoticons/cross >}} |
| 更新 `TOC`，在渲染或列印前更新頁碼和其他欄位。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |

## 文書內容功能

Aspose.Words提供超過100個公開類別的豐富物件模型，讓您可以程式化生成、結合、修改、解析或以其他方式檢視載入的文件。

| 特點 | .NET | .NET Standard 2.0 | Xamarin.Android | Xamarin.iOS | Xamarin.Mac |
| :- | :- | :- | :- | :- | :- |
| 存取、建立及修改段落與文字。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立並修改圖像、文字方塊和圖形。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立並修改資料表、列和 سلول。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立和修改欄位、表單欄位、超連結和書籤。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立並修改文件節、標題與页脚。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、創建和修改腳注、尾注和評論。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立並修改自訂的 XML、SmartTags 和結構化文書標籤 (內容控制。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 透過 **XmlDocument** 類別與方法來存取並修改所有文書元素。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 更新欄位結果 `IF`、公式和其他熱門的欄位類型。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 重新建立和更新目錄 (TOC) 欄位，正如 Microsoft Word 一樣。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將文檔元素複製並移動到其他文檔。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 合併及分割文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 取得和設定內建與自定義的文件屬性。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 指定文書保護、開啟受保護和加密的文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 尋找並替換文字，遍歷文書內容。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 接受文件中所有修訂。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 從文件中保存或提取 OLE 物件和 ActiveX 控制。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 從文件中保留或移除 VBA 巨集。 保留 VBA 巨集數位簽名。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 在文件中偵測及驗證數位簽名。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 插入HTML文字。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 從 Word 文檔中提取 VBA 巨集。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} |  | |  |

## 文檔格式化特徵

Aspose.Words 提供對所有文件元素格式化屬性的詳細程式設計存取。

| 特點 | .NET | .NET 標準 2.0 | Xamarin.Android | Xamarin.iOS | Xamarin.Mac |
| :- | :- | :- | :- | :- | :- |
| 存取並修改所有文字格式包括字體、顏色、效果、邊框和陰影。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取並修改所有段落格式，包括縮排、空格、邊框和遮陰效果，以及制表位。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取並修改所有有標記和有序的清單格式化包括號碼和等級。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取並修改表格格式，包括對齊、方向、邊框和陰影。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取並修改包含紙張大小、邊距和方向在內的所有區段屬性。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取、建立和修改文件樣式。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 存取並修改繪圖物件，包括位置、尺寸、線條和填充屬性，以及圖像位元組。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |

##  Mail Merge 功能

您可以自己作為報告解決方案使用 Aspose.Words。 設計您的報告在 Microsoft Word 和然後有 Aspose.Words 填充文件與來自各種資料來源的數據。

| 特點 | .NET | .NET 標準 2.0 | Xamarin.Android | Xamarin.iOS | Xamarin.Mac |
| :- | :- | :- | :- | :- | :- |
| 在您的報表中使用所有標準 Microsoft Word Mail Merge 欄位，包括 `MERGEFIELD`、`NEXT`、`NEXTIF`、`ADDRESSBLOCK` 和 GREETINGLINE。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 執行 mail merge，用於包含最複雜和嵌套的 `IF` 欄位與公式之文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 使用 Mail Merge 區域從資料源中填入並動態地擴展文件的表格或片段。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 可以輕鬆產生包含主細節（父子）資料的報告，例如 Order/OrderDetails。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 將資料從任何 .NET 資料源（例如 DataSet、DataTable、DataView、DataReader 或 ADO Recordset）填入文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 透過實作 **IMailMergeDataSource** 介面，從任何資料來源（例如 LINQ 查詢、XML 檔案或企業物件）擷取文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 透過事件，對您的資料合併如何進行的精確控制，例如格式。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 插入圖像於 mail merge。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 以程式方式建立或修改一 Microsoft Word Mail Merge 資料源給一份文件。 保存 Mail Merge 設定及資料源。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 檢索 Mail Merge 欄位名稱。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |

## 報導功能

LINQ 報表引擎是一種進階的報表工具，可讓您根據範本文件和來自各種來源（包括資料庫、XML、JSON、OData、自訂 CLR 類型的物件等）的資料來生成文件。

| 關鍵特點 | .NET | .NET 標準 2.0 | Xamarin.Android | Xamarin.iOS | Xamarin.Mac |
| :- | :- | :- | :- | :- | :- |
| 直接在範本中支援C#語法和LINQ延伸方法（即便對於`ADO.NET`資料源） | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 對表格、清單和一般內容支持可重複和條件性文書塊 (迴圈與條件)  | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 動態生成圖表與圖像的支援 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 支援將外文件與 HTML 塊插入到文件中 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 支援多個資料來源（包括不同類型）以產生一份單一的文件。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 資料關聯（主細節）之內建支援 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| 在模板中直接支援各種資料處理作業，如群組化、排序、過濾等等。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
| WYSIWYG：生成的文件將保留其元素的格式設定與對應模板相同。 | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} | {{< emoticons/tick >}} |
