![]() |
VOOZH | about |
dotnet add package Spire.Doc --version 14.6.9
NuGet\Install-Package Spire.Doc -Version 14.6.9
<PackageReference Include="Spire.Doc" Version="14.6.9" />
<PackageVersion Include="Spire.Doc" Version="14.6.9" />Directory.Packages.props
<PackageReference Include="Spire.Doc" />Project file
paket add Spire.Doc --version 14.6.9
#r "nuget: Spire.Doc, 14.6.9"
#:package Spire.Doc@14.6.9
#addin nuget:?package=Spire.Doc&version=14.6.9Install as a Cake Addin
#tool nuget:?package=Spire.Doc&version=14.6.9Install as a Cake Tool
Product Page | Documentation | Examples | Forum | Blog | Temporary License | Customized Demo
Spire.Doc for .NET is a professional Word API that enables developers to create, read, manipulate, convert and print Word documents in .NET (C#, VB.NET, ASP.NET, .NET Core, .NET Standard, .NET 2.0 to .NET 10.0 and Xamarin) applications without installing Microsoft Office.
By using this multi-functional API, developers are able to perform various Word document processing tasks with ease, like inserting image, hyperlink, digital signature, bookmark, watermark, setting header & footer, creating table, setting background image, adding footnote & endnote and many more.
Spire.Doc for .NET is a totally independent API, it doesn't require Microsoft Office or any other third-party libraries to be installed on system.
Spire.Doc for .NET supports almost all Word document elements, including sections, headers, footers, footnotes, endnotes, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, watermarks, math equations, mail merge, comments, images, styles, background settings, digital signature, document printing, document settings, document encryption and decryption. Furthermore, drawing objects including shapes, textboxes, images, OLE objects and content controls are supported as well.
Using Spire.Doc for .NET, developers can:
//Create a Document instance
Document doc = new Document();
//Add a section
Section section = doc.AddSection();
//Add a paragraph
Paragraph para = section.AddParagraph();
//Append text to the paragraph
para.AppendText("Hello World");
//Save the result document
doc.SaveToFile(@"C:\Users\Administrator\Desktop\Output.docx", FileFormat.Docx2013);
//Create a Document instance
Document document = new Document();
//Load a sample document
document.LoadFromFile(@"C:\Users\Administrator\Desktop\Template.docx");
//Save to PDF
document.SaveToFile("Sample.pdf", FileFormat.PDF);
//Save to HTML
document.SaveToFile("toHTML.html", FileFormat.Html);
//Save to XPS
document.SaveToFile("Sample.xps", FileFormat.XPS);
//Create a Document instance
Document document = new Document();
//Load a sample document
document.LoadFromFile(@"C:\Users\Administrator\Desktop\Template.docx");
//Save to PNG image
for (int i = 0; i < document.PageCount; i++)
{
Image img = document.SaveToImages(i, Spire.Doc.Documents.ImageType.Metafile);
String fileName = String.Format("img-{0}.png", i);
img.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);
}
{
//Load one Word document
Document doc1 = new Document("original.docx");
//Load the other Word document
Document doc2 = new Document("revised.docx");
//Compare two documents
doc1.Compare(doc2, "John");
//Save the differences in a third document
doc1.SaveToFile("Differences.docx", FileFormat.Docx2013);
doc1.Dispose();
}
Product Page | Documentation | Examples | Forum | Blog | Temporary License | Customized Demo
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
Showing the top 5 NuGet packages that depend on Spire.Doc:
| Package | Downloads |
|---|---|
|
Spire.Office
Spire.Office for .NET is a combination of Enterprise-Level Office .NET components offered by E-iceblue. It includes Spire.Doc, Spire XLS, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.PDFViewer, Spire.DocViewer, Spire.Email and Spire.BarCode. Spire.Office contains the most up-to-date versions of the above .NET components. From Spire.Office 3.10.1, Spire.Office supports to work on .NET Core,.NET Standard, Xamarin. With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, etc. As an independent Office .NET component, Spire.Office doesn't need Microsoft Office to be installed on neither the development nor target systems. In addition, it is a better alternative to MS Office Automation in terms of security, stability, scalability, speed, price and features. Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5, .NET Core, .NET standard 2.0 |
|
|
Spire.DocViewer
Spire.DocViewer, specially designed for developers, provides sevral controls for Visual Basic to enables users to realize functions to load, display, convert and print Word document from version 97-2003 to version 2010 for .NET in C# and Visual Basic easily. View Spire.DocViewer enables developers to view Word document with zoom in/out, page up/down, moving to first/last page and fitting width/page. Print Spire.DocViewer for .NET enables developers to print current page, one specified page, odd/even page or all pages of Word document. Supported Elements Spire.DocViewer for .net supports variety of elements in Word document, including text (font, style, size, color), paragraph(alignment, indent, line spcing), image, table(row height, column width, border and shading) and bookmark. Also, developers can relize Find function with Spire.DocViewer for .NET. Convert Spire.DocViewer for .NET enables to convert Word document to PDF, HTML and RTF. And conversion between different versions (.doc to .docx or .docx to .doc) is supported. |
|
|
Zxs.Kernel.Core
b87bf69c9650ef2ac3616e2f5563adb45e42b84b |
|
|
Spire.OfficeViewer
Spire.OfficeViewer for .NET is a powerful Office Viewer component for .NET. It enables developers to load Word, Excel, Presentation slides and PDF files and view them from code. As a standalone .NET class library, Spire.OfficeViewer mainly focus on how to display office documents and PDF files. It enables developers/programmers to directly view and print office files and PDFs for their .NET applications. It supports to view the DOC, DOCX, DOT, XLS, XLSX, XLSB, ODS, PPT, PPTX, PPS, PPSX and PDF file formats. Spire.OfficeViewer is a totally independent .NET library which doesn't need to install Microsoft Office and Adobe Reader or any other 3rd party software/library on system. Main Functions Load office documents and PDF from file and view; Switch to target page Fit page; Fit width; Fit height Page down/up; Zoom in/out; Hand tool; Print; |
|
|
Zxs.Kernel.Dapper
2e11353c3a6d4ec27682432c006db7b805eb149a |
Showing the top 2 popular GitHub repositories that depend on Spire.Doc:
| Repository | Stars |
|---|---|
|
MayDay-wpf/AIBotPublic
AIBot PRO 是一个基于.NET 8 的 AI聚合客户端 to C 弱 to B 可以集成众多AI产品(ChatGPT,Gemini,Claude,文心一言,通义千问,讯飞星火),无感切换对话,支持知识库、插件开发、AI流程引擎(workflow)、以及开放平台对外输出定制化的特色AI API
|
|
|
hanjunjun/Titan.Blog.WebAPP
ASP.NET Core WebAPI前后端分离,后端框架
|
| Version | Downloads | Last Updated |
|---|---|---|
| 14.6.9 | 669 | 6/11/2026 |
| 14.5.14 | 2,845 | 5/28/2026 |
| 14.4.9 | 8,485 | 4/28/2026 |
| 14.4.4 | 1,336 | 4/21/2026 |
| 14.3.5 | 7,616 | 3/18/2026 |
| 14.3.0 | 2,522 | 3/13/2026 |
| 14.2.7 | 20,104 | 2/12/2026 |
| 14.1.12 | 10,728 | 1/21/2026 |
| 14.1.3 | 3,047 | 1/9/2026 |
| 13.12.6 | 34,964 | 12/18/2025 |
| 13.12.3 | 6,486 | 12/11/2025 |
| 13.11.5 | 9,927 | 11/25/2025 |
| 13.10.3 | 20,601 | 10/24/2025 |
| 13.9.10 | 9,590 | 9/29/2025 |
| 13.9.4 | 13,468 | 9/11/2025 |
| 13.8.1 | 15,782 | 8/11/2025 |
| 13.7.14 | 6,327 | 7/25/2025 |
| 13.7.9 | 1,993 | 7/18/2025 |