Getting Started with IronPrint

IronPrint: Your All-in-One Print Library for .NET

IronPrint is a print library developed by Iron Software. The library is compatible with a wide variety of environments, including Windows, macOS, Android, and iOS.


IronPrint has cross platform support compatibility with:

.NET Version Support

  • C#, VB.NET, F#
  • .NET 8, 7, 6, 5, and Core 3.1+
  • .NET Framework (4.6.2+)

Operating Systems and Environments Support

  • Windows (7+, Server 2016+)
  • macOS (10+)
  • iOS (11+)
  • Android API 21+ (v5 "Lollipop")

.NET Project Types Support

  • Mobile (Xamarin & MAUI & Avalonia)
  • Desktop (WPF & MAUI & Windows Avalonia)
  • Console (App & Library)


IronPrint Library

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

Install-Package IronPrint

Alternatively, download directly from the official IronPrint NuGet website.

Once installed, you can get started by adding using IronPrint; to the top of your C# code.

Applying License Key

Next, apply a valid license or trial key to IronPrint by assigning the license key to the LicenseKey property of License class. Include the following code right after the import statement, before using any IronPrint methods:

IronPrint.License.LicenseKey = "IRONPRINT.MYLICENSE.KEY.1EF01";
IronPrint.License.LicenseKey = "IRONPRINT.MYLICENSE.KEY.1EF01"
VB   C#

Code Examples

Print Document

Simply pass the file path to the Print method to print the document.

using IronPrint;

// Print the document
Imports IronPrint

' Print the document
VB   C#

Print With Dialog

Use the ShowPrintDialog method to print the document, which also shows the print dialog before printing.

using IronPrint;

// Show print dialog
Imports IronPrint

' Show print dialog
VB   C#

Customize Print Settings

To configure the print settings from the code, instantiate the PrintSettings class. Configure the PrintSettings object and pass it to one of the print methods.

using IronPrint;

// Configure print setting
PrintSettings printSettings = new PrintSettings();
printSettings.Dpi = 150;
printSettings.NumberOfCopies = 2;
printSettings.PaperOrientation = PaperOrientation.Portrait;

// Print the document
Printer.Print("newDoc.pdf", printSettings);
Imports IronPrint

' Configure print setting
Private printSettings As New PrintSettings()
printSettings.Dpi = 150
printSettings.NumberOfCopies = 2
printSettings.PaperOrientation = PaperOrientation.Portrait

' Print the document
Printer.Print("newDoc.pdf", printSettings)
VB   C#

Licensing & Support Available

IronPrint is a paid library, however free trial licenses are also available here.

For more information about Iron Software please visit our website: For more support and inquiries, please ask our team.

Support from Iron Software

For general support and technical inquiries, please email us at: