Syncfusion.DocIO.NET
19.4.0.40
Prefix Reserved
See the version list below for details.
dotnet add package Syncfusion.DocIO.NET --version 19.4.0.40
NuGet\Install-Package Syncfusion.DocIO.NET -Version 19.4.0.40
<PackageReference Include="Syncfusion.DocIO.NET" Version="19.4.0.40" />
paket add Syncfusion.DocIO.NET --version 19.4.0.40
#r "nuget: Syncfusion.DocIO.NET, 19.4.0.40"
// Install Syncfusion.DocIO.NET as a Cake Addin #addin nuget:?package=Syncfusion.DocIO.NET&version=19.4.0.40 // Install Syncfusion.DocIO.NET as a Cake Tool #tool nuget:?package=Syncfusion.DocIO.NET&version=19.4.0.40
The Syncfusion .NET Word library (Essential DocIO) allows you to add advanced Word document processing functionalities to any .NET application and does not require Microsoft Word application to be installed in the machine. It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation. Using this library, you can create, read, edit and convert Word documents programmatically.
Key Features
- Support to create Word document from scratch.
- Support to open (read), modify and save existing Word documents.
- Advanced Mail merge support with different data sources.
- Ability to create or edit Word 97-2003 and later version documents (DOCX), and convert them to commonly used file formats such as RTF, WordML, TXT, HTML and vice versa.
- Ability to export a Word document as a PDF file.
- Ability to create and manipulate charts, Shapes, and Group shape in DOCX and WordML format documents.
- Ability to read and write Built-In and Custom Document Properties.
- Ability to find and replace text with its original formatting.
- Ability to insert Bookmarks and navigate corresponding bookmarks to insert, replace, and delete content.
- Support to insert and edit the form fields.
- Support to protect the document to restrict access to the elements present within the document.
- Ability to encrypt and decrypt Word documents.
- Support to insert and extract OLE objects.
- Support to run the DocIO applications in multi-thread and its thread safe.
Getting Started
You can fetch the Syncfusion .NET Word library NuGet by simply running Install-Package Syncfusion.DocIO.NET
from the Package Manager Console in Visual Studio.
You can also try some code examples of common use cases from our GitHub Repository.
Create a Word Document programmatically using C#
The following code example illustrates how to create a Word document.
//Creates a new instance of WordDocument (Empty Word Document).
using (WordDocument document = new WordDocument())
{
//Adds a section and a paragraph to the document.
document.EnsureMinimal();
//Appends text to the last paragraph of the document.
document.LastParagraph.AppendText("Hello World");
//Creates an instance of memory stream.
using (MemoryStream stream = new MemoryStream())
{
//Saves the Word document to memory stream.
document.Save(stream, FormatType.Docx);
}
}
Manipulate the Word document programmatically using C#
The following code example illustrates how to manipulate the Word document.
//Loads or opens a Word document.
using (FileStream docStream = new FileStream("Template.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
{
//Opens an existing Word document from stream.
using (WordDocument document = new WordDocument(docStream, FormatType.Automatic))
{
//To-Do some manipulation.
//To-Do some manipulation.
//Creates an instance of memory stream.
using (MemoryStream stream = new MemoryStream())
{
//Saves the Word document to memory stream.
document.Save(stream, FormatType.Docx);
}
}
}
Supported File Formats
- Creates, reads, and edits popular text file formats like DOC, DOT, DOCM, DOTM, DOCX, DOTX, HTML, RTF, TXT, and XML (WordML).
- Converts Word documents also to PDF, and ODT files.
Compatible Microsoft Word Versions
- Microsoft Word 97-2003
- Microsoft Word 2007
- Microsoft Word 2010
- Microsoft Word 2013
- Microsoft Word 2016
- Microsoft Word 2019
Resources
- Product page: Syncfusion Word Framework
- Documentation: Syncfusion Word library
- Online demo: Syncfusion Word library - Online demos
- Blog: Syncfusion Word library - Blog
- Knowledge Base: Syncfusion Word library - Knowledge Base
- Ebooks: Syncfusion Word library - Ebooks
- FAQ: Syncfusion Word library - FAQ
Support and feedback
- For any other queries, reach our Syncfusion support team or post the queries through the community forums.
- Request new feature through Syncfusion feedback portal.
License
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a licnense here or start a free 30-day trial here.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI(Preview), Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Syncfusion.Compression.NET (>= 19.4.0.40)
- Syncfusion.Licensing (>= 19.4.0.40)
- Syncfusion.OfficeChart.NET (>= 19.4.0.40)
- System.Text.Encoding.CodePages (>= 4.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Syncfusion.DocIO.NET:
Package | Downloads |
---|---|
Syncfusion.DocIORenderer.NET
Syncfusion Word library is feature-rich and high-performance .NET Word library that allows you to create, manipulate and convert Word documents (DOC, DOT, DOCM, DOTM, DOCX, DOTX, RTF, and WordML), TXT, and HTML files. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
27.1.58 | 466 | 11/4/2024 |
27.1.57 | 320 | 10/28/2024 |
27.1.56 | 1,100 | 10/23/2024 |
27.1.55 | 193 | 10/21/2024 |
27.1.53 | 598 | 10/14/2024 |
27.1.52 | 385 | 10/7/2024 |
27.1.51 | 514 | 9/30/2024 |
27.1.50 | 703 | 9/24/2024 |
27.1.48 | 320 | 9/18/2024 |
26.2.14 | 667 | 9/9/2024 |
26.2.13 | 784 | 9/5/2024 |
26.2.12 | 541 | 9/2/2024 |
26.2.11 | 583 | 8/27/2024 |
26.2.10 | 942 | 8/19/2024 |
26.2.9 | 346 | 8/12/2024 |
26.2.8 | 1,744 | 8/5/2024 |
26.2.7 | 318 | 7/29/2024 |
26.2.5 | 496 | 7/26/2024 |
26.2.4 | 203 | 7/24/2024 |
26.1.42 | 903 | 7/15/2024 |
26.1.41 | 472 | 7/8/2024 |
26.1.40 | 574 | 7/1/2024 |
26.1.39 | 414 | 6/24/2024 |
26.1.38 | 387 | 6/18/2024 |
26.1.35 | 456 | 6/11/2024 |
25.2.7 | 388 | 6/3/2024 |
25.2.6 | 373 | 5/28/2024 |
25.2.5 | 401 | 5/21/2024 |
25.2.4 | 361 | 5/14/2024 |
25.2.3 | 1,167 | 5/8/2024 |
25.1.42 | 4,844 | 4/29/2024 |
25.1.41 | 418 | 4/23/2024 |
25.1.40 | 438 | 4/15/2024 |
25.1.39 | 319 | 4/8/2024 |
25.1.38 | 324 | 4/1/2024 |
25.1.37 | 607 | 3/26/2024 |
25.1.35 | 723 | 3/15/2024 |
24.2.9 | 970 | 3/4/2024 |
24.2.8 | 511 | 2/26/2024 |
24.2.7 | 564 | 2/19/2024 |
24.2.6 | 430 | 2/14/2024 |
24.2.5 | 392 | 2/12/2024 |
24.2.4 | 513 | 2/6/2024 |
24.2.3 | 448 | 1/31/2024 |
24.1.47 | 505 | 1/22/2024 |
24.1.46 | 487 | 1/16/2024 |
24.1.45 | 578 | 1/9/2024 |
24.1.44 | 711 | 1/3/2024 |
24.1.43 | 501 | 12/27/2023 |
24.1.41 | 674 | 12/18/2023 |
23.2.7 | 936 | 12/6/2023 |
23.2.6 | 681 | 11/28/2023 |
23.2.5 | 833 | 11/23/2023 |
23.2.4 | 2,701 | 11/20/2023 |
23.1.44 | 1,846 | 11/6/2023 |
23.1.43 | 627 | 10/30/2023 |
23.1.42 | 654 | 10/23/2023 |
23.1.41 | 610 | 10/16/2023 |
23.1.40 | 686 | 10/10/2023 |
23.1.39 | 646 | 10/4/2023 |
23.1.38 | 745 | 9/26/2023 |
23.1.36 | 838 | 9/15/2023 |
22.2.12 | 3,068 | 9/5/2023 |
22.2.11 | 798 | 8/28/2023 |
22.2.10 | 758 | 8/22/2023 |
22.2.9 | 807 | 8/14/2023 |
22.2.8 | 802 | 8/7/2023 |
22.2.7 | 892 | 8/2/2023 |
22.2.5 | 802 | 7/27/2023 |
22.1.39 | 808 | 7/18/2023 |
22.1.38 | 767 | 7/11/2023 |
22.1.37 | 829 | 7/3/2023 |
22.1.36 | 814 | 6/28/2023 |
22.1.34 | 2,501 | 6/21/2023 |
21.2.10 | 1,329 | 6/13/2023 |
21.2.9 | 1,141 | 6/6/2023 |
21.2.8 | 973 | 5/30/2023 |
21.2.6 | 906 | 5/22/2023 |
21.2.5 | 927 | 5/15/2023 |
21.2.4 | 929 | 5/9/2023 |
21.2.3 | 1,229 | 5/3/2023 |
21.1.41 | 927 | 4/19/2023 |
21.1.39 | 2,037 | 4/10/2023 |
21.1.38 | 1,193 | 4/3/2023 |
21.1.37 | 1,176 | 3/29/2023 |
21.1.35 | 1,316 | 3/23/2023 |
20.4.0.54 | 1,091 | 3/13/2023 |
20.4.0.53 | 1,084 | 3/7/2023 |
20.4.0.52 | 1,434 | 2/28/2023 |
20.4.0.51 | 1,123 | 2/21/2023 |
20.4.0.50 | 1,096 | 2/14/2023 |
20.4.0.49 | 1,013 | 2/7/2023 |
20.4.0.48 | 1,148 | 2/1/2023 |
20.4.0.44 | 1,293 | 1/18/2023 |
20.4.0.43 | 1,140 | 1/10/2023 |
20.4.0.42 | 1,132 | 1/4/2023 |
20.4.0.41 | 16,878 | 12/29/2022 |
20.4.0.40 | 1,055 | 12/28/2022 |
20.4.0.38 | 1,322 | 12/21/2022 |
20.3.0.61 | 1,234 | 12/13/2022 |
20.3.0.60 | 1,115 | 12/6/2022 |
20.3.0.59 | 1,096 | 11/29/2022 |
20.3.0.58 | 1,203 | 11/22/2022 |
20.3.0.57 | 1,244 | 11/15/2022 |
20.3.0.56 | 1,267 | 11/8/2022 |
20.3.0.52 | 1,148 | 10/27/2022 |
20.3.0.50 | 1,092 | 10/18/2022 |
20.3.0.49 | 1,042 | 10/11/2022 |
20.3.0.48 | 954 | 10/5/2022 |
20.3.0.47 | 1,215 | 9/29/2022 |
20.2.0.50 | 1,053 | 9/20/2022 |
20.2.0.49 | 1,166 | 9/13/2022 |
20.2.0.48 | 1,025 | 9/6/2022 |
20.2.0.46 | 994 | 8/30/2022 |
20.2.0.45 | 1,058 | 8/23/2022 |
20.2.0.44 | 1,086 | 8/16/2022 |
20.2.0.43 | 1,000 | 8/8/2022 |
20.2.0.40 | 1,185 | 7/26/2022 |
20.2.0.39 | 1,055 | 7/19/2022 |
20.2.0.38 | 1,041 | 7/12/2022 |
20.2.0.36 | 1,365 | 6/30/2022 |
20.1.0.61 | 1,186 | 6/21/2022 |
20.1.0.60 | 1,049 | 6/14/2022 |
20.1.0.59 | 1,063 | 6/7/2022 |
20.1.0.58 | 1,365 | 5/31/2022 |
20.1.0.57 | 1,063 | 5/24/2022 |
20.1.0.56 | 1,056 | 5/17/2022 |
20.1.0.55 | 1,218 | 5/12/2022 |
20.1.0.52 | 1,180 | 5/3/2022 |
20.1.0.51 | 1,064 | 4/26/2022 |
20.1.0.50 | 1,142 | 4/19/2022 |
20.1.0.48 | 1,091 | 4/12/2022 |
20.1.0.47 | 1,275 | 4/4/2022 |
19.4.0.56 | 1,120 | 3/15/2022 |
19.4.0.55 | 1,058 | 3/8/2022 |
19.4.0.54 | 1,093 | 3/1/2022 |
19.4.0.53 | 1,207 | 2/22/2022 |
19.4.0.52 | 1,103 | 2/15/2022 |
19.4.0.50 | 1,026 | 2/8/2022 |
19.4.0.48 | 1,114 | 1/31/2022 |
19.4.0.47 | 1,106 | 1/25/2022 |
19.4.0.43 | 1,077 | 1/18/2022 |
19.4.0.42 | 1,117 | 1/11/2022 |
19.4.0.41 | 919 | 1/4/2022 |
19.4.0.40 | 896 | 12/28/2021 |
19.4.0.38 | 1,306 | 12/17/2021 |