Set Paper Margins

The PaperMargins property accepts a Margins object whose four parameters represent the top, right, bottom, and left margins in millimeters. Adjusting these values controls how much blank space surrounds the printed content on each edge of the page.

Custom margins are useful when documents must comply with binding requirements, letterhead positioning, or corporate style guides. For example, increasing the left margin accommodates hole-punch binding, while tighter margins maximize the printable area for data-heavy reports. All values are passed to the print driver before rendering, so the output matches your specifications regardless of the printer's default margin settings.

Explore the Complete Paper Margins Guide for IronPrint

Ready to Get Started?
Nuget Downloads 38,093 | Version: 2026.3 just released
Still Scrolling Icon

Still Scrolling?

Want proof fast? PM > Install-Package IronPrint
run a sample watch your document hit the printer.