IRONSOFTWAREHOME
Set Paper Orientation
using IronPrint;

// Configure landscape orientation for wide documents
var settings = new PrintSettings
{
    PaperOrientation = PaperOrientation.Landscape
};

Printer.Print("spreadsheet.pdf", settings);
Imports IronPrint

' Configure landscape orientation for wide documents
Dim settings As New PrintSettings With {
    .PaperOrientation = PaperOrientation.Landscape
}

Printer.Print("spreadsheet.pdf", settings)
NuGet Download
PM > Install-Package IronPrint
Set Paper Orientation

Set Paper Orientation

Use the PaperOrientation property to control whether a document prints in portrait or landscape mode. Setting it to PaperOrientation.Landscape rotates the printable area so the longer edge runs horizontally - perfect for wide tables, timelines, and presentation slides.

Orientation is applied at the driver level before the content is rasterized, so the entire page layout adjusts automatically. Combine this setting with PaperSize to get precise control over how your content fills the physical sheet, avoiding awkward cropping or excessive white space.

Learn More About Setting Paper Orientation with 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