IronWord 2024.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package IronWord --version 2024.1.2                
NuGet\Install-Package IronWord -Version 2024.1.2                
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="IronWord" Version="2024.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IronWord --version 2024.1.2                
#r "nuget: IronWord, 2024.1.2"                
#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.
// Install IronWord as a Cake Addin
#addin nuget:?package=IronWord&version=2024.1.2

// Install IronWord as a Cake Tool
#tool nuget:?package=IronWord&version=2024.1.2                

Nuget Installs Passed livechat

IronWord - The C# Word Library

IronWord NuGet Trial Banner Image

IronWord is a library developed and maintained by Iron Software that helps C# Software Engineers to load, manipulate, and save Word documents in .NET applications & websites.

IronWord excels at:

  • Loading, Manipulating, and Saving docx Documents.

IronWord has cross platform support compatibility with:

  • .NET 8, .NET 7, .NET 6 and .NET 5, Core 2x & 3x, Standard 2, and Framework 4.6.2+
  • Windows, macOS, Linux, iOS, Android, Docker, Azure, and AWS

IronWord Cross Platform Compatibility Support Image

Additionally, our API reference and full licensing information can easily be found on our website.

Using IronWord

Installing the IronWord NuGet package is quick and easy, please install the package like this:

PM> Install-Package IronWord

Once installed, you can get started by adding using IronWord; to the top of your C# code. Here is is examples to get started:

using IronWord;
using IronWord.Models;
using IronSoftware.Drawing;

// Load existing docx
var docx1 = new WordDocument("existing.docx");

// Or, Make new docx
var docx_new = new WordDocument();

// Add text paragraph
Paragraph paragraph = new();
var textRun = new TextRun()
{
    Text = "Hello IronWord!"
};
paragraph.AddTextRun(textRun);

docx1.AddParagraph(paragraph);

// Add image paragraph
TextRun textRunWithImage = new TextRun();
Image image = new Image("example.jpg");
image.Width = 400; // px
image.Height = 300; // px
image.Position = new ElementPosition() {
    X = 0, // pts
    Y = 72  // pts
};
textRunWithImage.AddChild(image);
docx1.AddParagraph(new Paragraph(textRunWithImage));


// Save over the existing Docx
docx1.Save("existing.docx");

// Or save as a new Docx
docx1.SaveAs("output.docx");

Features TODO

Licensing & Support available

For code examples, tutorials and documentation visit https://ironsoftware.com/csharp/word/

For support please email us at support@ironsoftware.com

You can email us at support@ironsoftware.com for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.

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. 
.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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.11.2 595 11/6/2024
2024.10.2 434 10/2/2024
2024.9.1 1,311 9/9/2024
2024.8.3 920 7/30/2024
2024.7.1 528 7/2/2024
2024.6.1 1,171 6/4/2024
2024.5.8 458 4/30/2024
2024.4.1 353 4/4/2024
2024.3.5 465 3/11/2024
2024.1.2 524 12/29/2023

- First Release of IronWord!