IRONSOFTWAREHOME
Set the DPI
using IronPrint;

// Set high-resolution output at 300 DPI
var printSettings = new PrintSettings
{
    Dpi = 300
};

Printer.Print("report.pdf", printSettings);
Imports IronPrint

' Set high-resolution output at 300 DPI
Dim printSettings = New PrintSettings With {
    .Dpi = 300
}

Printer.Print("report.pdf", printSettings)
NuGet Download
PM > Install-Package IronPrint
Set the DPI

Set the DPI

DPI (dots per inch) determines how many individual ink dots the printer places within each inch of paper. Raising the Dpi property on PrintSettings increases the sharpness of text, images, and fine lines - 300 DPI is a common choice for professional-quality documents.

Keep in mind that the actual resolution is capped by the printer hardware. If you request 600 DPI on a printer that tops out at 300, the driver will use its maximum capability. Higher DPI values also increase spooler file sizes and print times, so choose a resolution that balances quality with throughput for your specific use case.

Read the Full DPI Configuration Guide for IronPrint

Ready to Get Started?

Nuget Downloads 46,787Version:2026.10just released

Key in blue circle

Get your free 30-day Trial Key instantly

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPrint
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get a Quote, No Obligation
Your details will always be kept confidential.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Trusted by Millions of Engineers Worldwide
Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.10

PM > Install-Package IronPrint
nuget.org/packages/IronPrint/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronPrint"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.10

  1. Download and unzip IronPrint to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronPrint.dll"

Licenses from $999