Set Paper Orientation
using IronPrint;

// Configure landscape orientation for wide documents
var settings = new PrintSettings
{
    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 49,171Version:2026.11just released