Tamaño PDF Personalizado One important aspect to note when creating your PDF documents in IronPDF is to ensure they can be viewed or printed well. This means you need to define the target virtual paper size of the PDF and its related real-world paper size. In this example, we show you how to add custom paper sizes to your PDF projects. IronPDF supports close to 50 preset paper sizes and unlimited custom paper sizes that should fit every scenario or situation where you'd like your PDF to fit. You can render PDFs in different paper sizes measured in inches or millimeters. The enum PdfPaperSize class defines the target virtual paper size of the PDF and its related real-world paper size. You can use the following methods to create PDFs of custom size in inches or millimeters: Renderer.RenderingOptions.SetCustomPaperSizeInInches Renderer.RenderingOptions.SetCustomPaperSizeInMillimeters You can also use Renderer.RenderingOptions.PaperSize, which is our custom preset paper size, now accurate to 1 micron. For more detailed information on how to utilize IronPDF's custom paper size functionality and other advanced features, visit the IronPDF Documentation. Explore Custom PDF Paper Size Guide with IronPDF Ver en GitHub Código https://github.com/iron-software/IronPdf.Examples/tree/main/examples/custom-pdf-paper-size 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