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.2.3 | 0 | 11/22/2024 |
27.2.2 | 386 | 11/15/2024 |
27.1.58 | 747 | 11/4/2024 |
27.1.57 | 330 | 10/28/2024 |
27.1.56 | 1,113 | 10/23/2024 |
27.1.55 | 201 | 10/21/2024 |
27.1.53 | 612 | 10/14/2024 |
27.1.52 | 394 | 10/7/2024 |
27.1.51 | 519 | 9/30/2024 |
27.1.50 | 749 | 9/24/2024 |
27.1.48 | 327 | 9/18/2024 |
26.2.14 | 686 | 9/9/2024 |
26.2.13 | 798 | 9/5/2024 |
26.2.12 | 585 | 9/2/2024 |
26.2.11 | 585 | 8/27/2024 |
26.2.10 | 976 | 8/19/2024 |
26.2.9 | 348 | 8/12/2024 |
26.2.8 | 1,928 | 8/5/2024 |
26.2.7 | 319 | 7/29/2024 |
26.2.5 | 497 | 7/26/2024 |
26.2.4 | 204 | 7/24/2024 |
26.1.42 | 922 | 7/15/2024 |
26.1.41 | 473 | 7/8/2024 |
26.1.40 | 592 | 7/1/2024 |
26.1.39 | 415 | 6/24/2024 |
26.1.38 | 388 | 6/18/2024 |
26.1.35 | 457 | 6/11/2024 |
25.2.7 | 389 | 6/3/2024 |
25.2.6 | 376 | 5/28/2024 |
25.2.5 | 402 | 5/21/2024 |
25.2.4 | 362 | 5/14/2024 |
25.2.3 | 1,202 | 5/8/2024 |
25.1.42 | 5,180 | 4/29/2024 |
25.1.41 | 419 | 4/23/2024 |
25.1.40 | 439 | 4/15/2024 |
25.1.39 | 320 | 4/8/2024 |
25.1.38 | 325 | 4/1/2024 |
25.1.37 | 608 | 3/26/2024 |
25.1.35 | 746 | 3/15/2024 |
24.2.9 | 1,046 | 3/4/2024 |
24.2.8 | 512 | 2/26/2024 |
24.2.7 | 565 | 2/19/2024 |
24.2.6 | 431 | 2/14/2024 |
24.2.5 | 393 | 2/12/2024 |
24.2.4 | 514 | 2/6/2024 |
24.2.3 | 449 | 1/31/2024 |
24.1.47 | 509 | 1/22/2024 |
24.1.46 | 491 | 1/16/2024 |
24.1.45 | 579 | 1/9/2024 |
24.1.44 | 712 | 1/3/2024 |
24.1.43 | 505 | 12/27/2023 |
24.1.41 | 678 | 12/18/2023 |
23.2.7 | 937 | 12/6/2023 |
23.2.6 | 684 | 11/28/2023 |
23.2.5 | 834 | 11/23/2023 |
23.2.4 | 2,713 | 11/20/2023 |
23.1.44 | 1,861 | 11/6/2023 |
23.1.43 | 628 | 10/30/2023 |
23.1.42 | 657 | 10/23/2023 |
23.1.41 | 611 | 10/16/2023 |
23.1.40 | 687 | 10/10/2023 |
23.1.39 | 652 | 10/4/2023 |
23.1.38 | 746 | 9/26/2023 |
23.1.36 | 860 | 9/15/2023 |
22.2.12 | 3,205 | 9/5/2023 |
22.2.11 | 801 | 8/28/2023 |
22.2.10 | 759 | 8/22/2023 |
22.2.9 | 808 | 8/14/2023 |
22.2.8 | 803 | 8/7/2023 |
22.2.7 | 893 | 8/2/2023 |
22.2.5 | 803 | 7/27/2023 |
22.1.39 | 809 | 7/18/2023 |
22.1.38 | 768 | 7/11/2023 |
22.1.37 | 830 | 7/3/2023 |
22.1.36 | 815 | 6/28/2023 |
22.1.34 | 2,511 | 6/21/2023 |
21.2.10 | 1,330 | 6/13/2023 |
21.2.9 | 1,142 | 6/6/2023 |
21.2.8 | 974 | 5/30/2023 |
21.2.6 | 907 | 5/22/2023 |
21.2.5 | 929 | 5/15/2023 |
21.2.4 | 930 | 5/9/2023 |
21.2.3 | 1,230 | 5/3/2023 |
21.1.41 | 928 | 4/19/2023 |
21.1.39 | 2,038 | 4/10/2023 |
21.1.38 | 1,194 | 4/3/2023 |
21.1.37 | 1,179 | 3/29/2023 |
21.1.35 | 1,317 | 3/23/2023 |
20.4.0.54 | 1,092 | 3/13/2023 |
20.4.0.53 | 1,085 | 3/7/2023 |
20.4.0.52 | 1,441 | 2/28/2023 |
20.4.0.51 | 1,130 | 2/21/2023 |
20.4.0.50 | 1,097 | 2/14/2023 |
20.4.0.49 | 1,014 | 2/7/2023 |
20.4.0.48 | 1,149 | 2/1/2023 |
20.4.0.44 | 1,294 | 1/18/2023 |
20.4.0.43 | 1,141 | 1/10/2023 |
20.4.0.42 | 1,133 | 1/4/2023 |
20.4.0.41 | 16,879 | 12/29/2022 |
20.4.0.40 | 1,056 | 12/28/2022 |
20.4.0.38 | 1,323 | 12/21/2022 |
20.3.0.61 | 1,235 | 12/13/2022 |
20.3.0.60 | 1,116 | 12/6/2022 |
20.3.0.59 | 1,097 | 11/29/2022 |
20.3.0.58 | 1,204 | 11/22/2022 |
20.3.0.57 | 1,245 | 11/15/2022 |
20.3.0.56 | 1,268 | 11/8/2022 |
20.3.0.52 | 1,149 | 10/27/2022 |
20.3.0.50 | 1,093 | 10/18/2022 |
20.3.0.49 | 1,043 | 10/11/2022 |
20.3.0.48 | 955 | 10/5/2022 |
20.3.0.47 | 1,216 | 9/29/2022 |
20.2.0.50 | 1,054 | 9/20/2022 |
20.2.0.49 | 1,167 | 9/13/2022 |
20.2.0.48 | 1,026 | 9/6/2022 |
20.2.0.46 | 996 | 8/30/2022 |
20.2.0.45 | 1,059 | 8/23/2022 |
20.2.0.44 | 1,087 | 8/16/2022 |
20.2.0.43 | 1,001 | 8/8/2022 |
20.2.0.40 | 1,186 | 7/26/2022 |
20.2.0.39 | 1,056 | 7/19/2022 |
20.2.0.38 | 1,042 | 7/12/2022 |
20.2.0.36 | 1,366 | 6/30/2022 |
20.1.0.61 | 1,190 | 6/21/2022 |
20.1.0.60 | 1,050 | 6/14/2022 |
20.1.0.59 | 1,064 | 6/7/2022 |
20.1.0.58 | 1,366 | 5/31/2022 |
20.1.0.57 | 1,064 | 5/24/2022 |
20.1.0.56 | 1,057 | 5/17/2022 |
20.1.0.55 | 1,219 | 5/12/2022 |
20.1.0.52 | 1,181 | 5/3/2022 |
20.1.0.51 | 1,067 | 4/26/2022 |
20.1.0.50 | 1,143 | 4/19/2022 |
20.1.0.48 | 1,092 | 4/12/2022 |
20.1.0.47 | 1,276 | 4/4/2022 |
19.4.0.56 | 1,121 | 3/15/2022 |
19.4.0.55 | 1,059 | 3/8/2022 |
19.4.0.54 | 1,094 | 3/1/2022 |
19.4.0.53 | 1,208 | 2/22/2022 |
19.4.0.52 | 1,104 | 2/15/2022 |
19.4.0.50 | 1,027 | 2/8/2022 |
19.4.0.48 | 1,115 | 1/31/2022 |
19.4.0.47 | 1,107 | 1/25/2022 |
19.4.0.43 | 1,078 | 1/18/2022 |
19.4.0.42 | 1,118 | 1/11/2022 |
19.4.0.41 | 920 | 1/4/2022 |
19.4.0.40 | 897 | 12/28/2021 |
19.4.0.38 | 1,308 | 12/17/2021 |