IRONSOFTWAREHOME
Set Paper Size
using IronPrint;

// Set the paper size to A4
PrintSettings printSettings = new PrintSettings();
printSettings.PaperSize = PaperSize.A4;

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

' Set the paper size to A4
Dim printSettings As New PrintSettings()
printSettings.PaperSize = PaperSize.A4

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

Set Paper Size

The PaperSize property on the PrintSettings class lets you specify the exact paper dimensions for a print job. In this example, the size is set to PaperSize.A4, which is the international standard (210 × 297 mm) widely used in business correspondence and official documents.

IronPrint supports a range of built-in sizes - including Letter, Legal, A3, and more - so you can match the paper loaded in each tray without relying on printer-driver defaults. Choosing the correct size prevents clipping, unexpected scaling, and wasted paper when the document dimensions do not match the physical sheet.

See All Available Paper Sizes in the IronPrint Guide

Ready to Get Started?

Nuget Downloads 46,090Version:2026.9just 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 IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required