Create Blank Page
using IronPdf;

PdfDocument pdf = new PdfDocument(270, 270);

pdf.SaveAs("blankPage.pdf");
NuGet Download
PM > Install-Package IronPdf
Create Blank Page

Create Blank Page

Creating a blank PDF page refers to generating a page within a PDF document that contains no content, no text, images, or graphics. This can be done intentionally for various purposes, such as adding space for notes, separating sections of a document, or aligning content in a specific layout.

Creating a PDF with a blank page using IronPDF is straightforward. For detailed guidance on using IronPDF to generate PDF documents, visit the IronPDF Official Documentation. Simply supply two integers for width and height to the PdfDocument constructor to create a PDF with a blank page.

  • Width and Height: The dimensions for the PDF page are defined in points (1/72 of an inch). In this example, it uses a 270 x 270 point square page.
  • PdfDocument Constructor: The PdfDocument class from the IronPDF library takes two integers as arguments for width and height and creates a new PDF document containing one blank page with those dimensions.
  • SaveAs Method: This method is used to save the newly created PDF to the file system. In this example, the PDF is saved with the filename "blankPage.pdf".
Learn to Create New PDFs with IronPDF Now!
View on GitHub

Ready to Get Started?

Nuget Downloads 22,024,882Version:2026.11just released