Crear página en blanco Creating a blank PDF page refers to generating a page within a PDF document that contains no content, no texts, 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 millimeters. In this example, it uses the dimensions of an A4 page, which are 210 mm in width and 297 mm in height. 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". Console Output: A simple message is printed to the console indicating that the PDF creation process is complete. Learn to Create New PDFs with IronPDF Now! Ver en GitHub Código https://github.com/irondarrius/IronPdf.Examples/tree/main/examples/create-blank-page Descargar ZIP Tutorial Relacionado Guía de Cómo Hacer Relacionada Documentación de Clase Obtener Paquetes de Idiomas Descargar IronPDF DLL Reportar un problema en esta página ¿Listo para empezar? Nuget Descargas 16,154,058 | Versión: 2025.11 recién lanzado Descarga Gratis de NuGet Descargas totales: 16,154,058 Ver Licencias
Producto completamente funcional Obtén 30 días de producto completamente funcional.Instálalo y ejecútalo en minutos.
Soporte técnico 24/5 Acceso completo a nuestro equipo de soporte técnico durante tu prueba del producto
Producto completamente funcional Obtén 30 días de producto completamente funcional.Instálalo y ejecútalo en minutos.
Soporte técnico 24/5 Acceso completo a nuestro equipo de soporte técnico durante tu prueba del producto