![]() |
VOOZH | about |
dotnet add package FreeSpire.Doc --version 14.4.0
NuGet\Install-Package FreeSpire.Doc -Version 14.4.0
<PackageReference Include="FreeSpire.Doc" Version="14.4.0" />
<PackageVersion Include="FreeSpire.Doc" Version="14.4.0" />Directory.Packages.props
<PackageReference Include="FreeSpire.Doc" />Project file
paket add FreeSpire.Doc --version 14.4.0
#r "nuget: FreeSpire.Doc, 14.4.0"
#:package FreeSpire.Doc@14.4.0
#addin nuget:?package=FreeSpire.Doc&version=14.4.0Install as a Cake Addin
#tool nuget:?package=FreeSpire.Doc&version=14.4.0Install as a Cake Tool
Product Page | Documentation | Examples | Forum | Customized Demo
Free Spire.Doc for .NET is a Community Edition of the Spire.Doc for .NET, which is a totally free Word API for commercial and personal use.
Using Free Spire.Doc for .NET, developers can create, read, manipulate, convert and print Word documents in .NET (C#, VB.NET, ASP.NET, .NET Core, .NET Standard and Xamarin) applications without installing Microsoft Office.
Friendly Reminder: Free version is limited to 500 paragraphs and 25 tables. This limitation is enforced during reading or writing files. When converting word documents to PDF and XPS files, you can only get the first 3 page of PDF file.
Free 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.
Free 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 Free 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
Image[] images = document.SaveToImages(Spire.Doc.Documents.ImageType.Bitmap);
for (int i = 0; i < images.Length; i++)
{
Image img = images[i];
String fileName = String.Format("img-{0}.png", i);
img.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);
img.Dispose();
}
Product Page | Documentation | Examples | Forum | Customized Demo
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. 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 was computed. 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 was computed. 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 Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | 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. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on FreeSpire.Doc:
| Package | Downloads |
|---|---|
|
RG3.BO.Abstractions
1、【业务操作实体抽象】(可配置化,标准化,灵活配置,集成百度、腾讯、阿里、短信通等巨头接口,可脱离开发环境,集成nodejs中间件、统一认证中心) 2、以Rg3.开头且类继承 IService 或 IRepository的在Starup里面不用注入,案例如下 3、public class ListRepository : IRepository 4、public class ListService : IService 5、使用请到github获取 RG3.PF.WebApp.Host 6、6.0.0.77开始,nodeserice迁移到RG3.PF.PinYinScriptEngineCliWrap |
|
|
EY.Classlib.Common
Package Description |
|
|
webenology.blazor.components
Blazor Components used at webenology |
|
|
PdfConverter
A library for converting images and word documents to PDF documents. |
|
|
Our.Umbraco.Dexter.IndexStrategies
Web site |
Showing the top 1 popular GitHub repositories that depend on FreeSpire.Doc:
| Repository | Stars |
|---|---|
|
tianlian0/paper_checking_system
基于C#和C++开发的文本查重/论文查重系统,一亿字次级论文库秒级查重。关联:查重算法、数据去重、文档查重、文本去重、标书查重、辅助防串标、作业查重、duplicate check
|
| Version | Downloads | Last Updated |
|---|---|---|
| 14.4.0 | 15,315 | 4/13/2026 |
| 12.2.0 | 954,977 | 2/29/2024 |
| 11.6.0 | 375,877 | 6/16/2023 |
| 10.8.1 | 186,873 | 4/10/2023 |
| 10.8.0 | 406,752 | 8/17/2022 |
| 10.7.0 | 63,072 | 7/19/2022 |
| 10.2.0 | 440,106 | 2/11/2022 |
| 9.9.7 | 294,639 | 9/18/2021 |
| 7.11.0 | 922,674 | 11/5/2019 |
| 7.1.13 | 224,023 | 1/25/2019 |
| 6.3.0 | 103,146 | 5/4/2018 |
| 5.7.0 | 140,823 | 9/7/2016 |
Thank you for your interests in Spire.Doc. Free Spire.Doc is a professional and powerful Word component which enables you to generate, load, write, edit and save Word document on .NET and WPF. With Spire.Doc, you can create a large range of applications. Now it supports to work on .NET Core. .NET Standard 2.0, Azure function