Syncfusion.DocIO.NET 19.4.0.40

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.DocIO.NET" Version="19.4.0.40" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.DocIO.NET" Version="19.4.0.40" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.DocIO.NET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.DocIO.NET --version 19.4.0.40
                    
#r "nuget: Syncfusion.DocIO.NET, 19.4.0.40"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.DocIO.NET@19.4.0.40
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.DocIO.NET&version=19.4.0.40
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.DocIO.NET&version=19.4.0.40
                    
Install as a Cake Tool

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

Support and feedback

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
31.2.5 256 11/3/2025
31.2.4 545 10/28/2025
31.2.3 440 10/21/2025
31.2.2 890 10/15/2025
31.1.23 2,212 10/6/2025
31.1.22 1,830 9/30/2025
31.1.21 1,898 9/22/2025
31.1.20 2,296 9/16/2025
31.1.19 2,040 9/11/2025
31.1.18 2,004 9/10/2025
31.1.17 2,876 9/5/2025
30.2.7 2,683 8/25/2025
30.2.6 3,003 8/18/2025
30.2.5 2,330 8/13/2025
30.2.4 2,455 8/7/2025
30.1.42 2,383 7/28/2025
30.1.41 2,816 7/22/2025
30.1.40 2,366 7/14/2025
30.1.39 2,414 7/8/2025
30.1.38 2,492 7/1/2025
30.1.37 2,462 6/25/2025
29.2.11 2,449 6/16/2025
29.2.10 2,636 6/9/2025
29.2.9 2,567 6/5/2025
29.2.8 2,299 6/3/2025
29.2.7 2,395 5/26/2025
29.2.5 2,636 5/21/2025
29.2.4 3,351 5/14/2025
29.1.41 2,513 5/5/2025
29.1.40 2,618 4/28/2025
29.1.39 2,569 4/21/2025
29.1.38 5,556 4/14/2025
29.1.37 2,702 4/8/2025
29.1.35 3,233 4/1/2025
29.1.33 3,021 3/25/2025
28.2.12 2,672 3/19/2025
28.2.11 3,057 3/10/2025
28.2.9 2,706 3/4/2025
28.2.7 2,609 2/25/2025
28.2.6 3,011 2/17/2025
28.2.5 2,777 2/11/2025
28.2.4 5,076 2/4/2025
28.2.3 2,746 1/29/2025
28.1.41 3,296 1/21/2025
28.1.39 2,547 1/13/2025
28.1.38 2,536 1/7/2025
28.1.37 3,063 12/31/2024
28.1.36 2,470 12/23/2024
28.1.35 3,517 12/18/2024
28.1.33 4,247 12/12/2024
27.2.5 3,054 12/2/2024
27.2.4 2,537 11/26/2024
27.2.3 2,499 11/22/2024
27.2.2 3,345 11/15/2024
27.1.58 3,539 11/4/2024
27.1.57 2,470 10/28/2024
27.1.56 3,290 10/23/2024
27.1.55 2,351 10/21/2024
27.1.53 2,802 10/14/2024
27.1.52 2,763 10/7/2024
27.1.51 2,663 9/30/2024
27.1.50 3,470 9/24/2024
27.1.48 2,571 9/18/2024
26.2.14 3,207 9/9/2024
26.2.13 3,736 9/5/2024
26.2.12 3,014 9/2/2024
26.2.11 2,741 8/27/2024
26.2.10 4,148 8/19/2024
26.2.9 2,477 8/12/2024
26.2.8 4,766 8/5/2024
26.2.7 2,456 7/29/2024
26.2.5 2,625 7/26/2024
26.2.4 2,336 7/24/2024
26.1.42 3,228 7/15/2024
26.1.41 2,644 7/8/2024
26.1.40 2,893 7/1/2024
26.1.39 2,603 6/24/2024
26.1.38 2,505 6/18/2024
26.1.35 2,608 6/11/2024
25.2.7 2,531 6/3/2024
25.2.6 2,507 5/28/2024
25.2.5 2,535 5/21/2024
25.2.4 2,672 5/14/2024
25.2.3 4,639 5/8/2024
25.1.42 76,422 4/29/2024
25.1.41 2,547 4/23/2024
25.1.40 2,564 4/15/2024
25.1.39 2,443 4/8/2024
25.1.38 2,469 4/1/2024
25.1.37 2,728 3/26/2024
25.1.35 3,355 3/15/2024
24.2.9 3,598 3/4/2024
24.2.8 2,645 2/26/2024
24.2.7 2,707 2/19/2024
24.2.6 2,566 2/14/2024
24.2.5 2,512 2/12/2024
24.2.4 2,630 2/6/2024
24.2.3 2,580 1/31/2024
24.1.47 2,639 1/22/2024
24.1.46 2,623 1/16/2024
24.1.45 2,707 1/9/2024
24.1.44 2,873 1/3/2024
24.1.43 2,627 12/27/2023
24.1.41 2,819 12/18/2023
23.2.7 3,092 12/6/2023
23.2.6 2,794 11/28/2023
23.2.5 2,917 11/23/2023
23.2.4 5,389 11/20/2023
23.1.44 4,349 11/6/2023
23.1.43 2,718 10/30/2023
23.1.42 2,743 10/23/2023
23.1.41 2,695 10/16/2023
23.1.40 2,774 10/10/2023
23.1.39 2,782 10/4/2023
23.1.38 2,853 9/26/2023
23.1.36 3,002 9/15/2023
22.2.12 8,285 9/5/2023
22.2.11 2,891 8/28/2023
22.2.10 2,878 8/22/2023
22.2.9 2,922 8/14/2023
22.2.8 2,917 8/7/2023
22.2.7 3,007 8/2/2023
22.2.5 2,923 7/27/2023
22.1.39 2,933 7/18/2023
22.1.38 2,884 7/11/2023
22.1.37 2,942 7/3/2023
22.1.36 2,931 6/28/2023
22.1.34 4,867 6/21/2023
21.2.10 3,466 6/13/2023
21.2.9 3,254 6/6/2023
21.2.8 3,096 5/30/2023
21.2.6 3,018 5/22/2023
21.2.5 3,052 5/15/2023
21.2.4 3,047 5/9/2023
21.2.3 3,339 5/3/2023
21.1.41 3,052 4/19/2023
21.1.39 4,173 4/10/2023
21.1.38 3,325 4/3/2023
21.1.37 3,309 3/29/2023
21.1.35 3,470 3/23/2023
20.4.0.54 3,230 3/13/2023
20.4.0.53 3,211 3/7/2023
20.4.0.52 3,644 2/28/2023
20.4.0.51 3,307 2/21/2023
20.4.0.50 3,229 2/14/2023
20.4.0.49 3,147 2/7/2023
20.4.0.48 3,279 2/1/2023
20.4.0.44 3,433 1/18/2023
20.4.0.43 3,283 1/10/2023
20.4.0.42 3,271 1/4/2023
20.4.0.41 19,042 12/29/2022
20.4.0.40 3,194 12/28/2022
20.4.0.38 3,460 12/21/2022
20.3.0.61 3,363 12/13/2022
20.3.0.60 3,257 12/6/2022
20.3.0.59 3,232 11/29/2022
20.3.0.58 3,345 11/22/2022
20.3.0.57 3,387 11/15/2022
20.3.0.56 3,412 11/8/2022
20.3.0.52 3,266 10/27/2022
20.3.0.50 3,215 10/18/2022
20.3.0.49 3,166 10/11/2022
20.3.0.48 3,075 10/5/2022
20.3.0.47 3,346 9/29/2022
20.2.0.50 3,176 9/20/2022
20.2.0.49 3,286 9/13/2022
20.2.0.48 3,143 9/6/2022
20.2.0.46 3,119 8/30/2022
20.2.0.45 3,180 8/23/2022
20.2.0.44 3,206 8/16/2022
20.2.0.43 3,117 8/8/2022
20.2.0.40 3,323 7/26/2022
20.2.0.39 3,190 7/19/2022
20.2.0.38 3,153 7/12/2022
20.2.0.36 3,552 6/30/2022
20.1.0.61 3,334 6/21/2022
20.1.0.60 3,173 6/14/2022
20.1.0.59 3,188 6/7/2022
20.1.0.58 3,487 5/31/2022
20.1.0.57 3,188 5/24/2022
20.1.0.56 3,181 5/17/2022
20.1.0.55 3,340 5/12/2022
20.1.0.52 3,307 5/3/2022
20.1.0.51 3,210 4/26/2022
20.1.0.50 3,271 4/19/2022
20.1.0.48 3,216 4/12/2022
20.1.0.47 3,418 4/4/2022
19.4.0.56 3,260 3/15/2022
19.4.0.55 3,192 3/8/2022
19.4.0.54 3,236 3/1/2022
19.4.0.53 3,338 2/22/2022
19.4.0.52 3,243 2/15/2022
19.4.0.50 3,143 2/8/2022
19.4.0.48 3,253 1/31/2022
19.4.0.47 3,371 1/25/2022
19.4.0.43 3,226 1/18/2022
19.4.0.42 3,256 1/11/2022
19.4.0.41 3,069 1/4/2022
19.4.0.40 3,034 12/28/2021
19.4.0.38 3,493 12/17/2021