Combinar dos o más PDFs en C# IronPDF's merge feature allows you to combine multiple PDF documents into a single file seamlessly. Whether you're working with HTML-rendered PDFs or existing PDF files, IronPDF provides a simple API for merging. Leverage IronPDF's powerful merge features to effortlessly combine your PDFs while maintaining the structure and content integrity of each document. The 5 Steps to Merging PDF Documents in C# Before we can begin merging our PDF documents, we first need to create the HTML string that will be used to render the PDF documents in this example. These HTML strings are named html_a and html_b. Once these have been created, we can move on to rendering and merging the PDFs. First, you will need to create a new ChromePdfRenderer instance. This powerful renderer will be used to convert the HTML content we created to high-quality PDF documents. By using the RenderHtmlAsPdf method, we can then render the HTML content into PDF documents. Now, it is time to merge the PDF documents into a single PDF named Merged.pdf. This is done through the Merge method, which takes the two PDF documents passed to it and merges them using just one line of code. This makes merging documents an efficient and easy-to-implement task with IronPDF. Finally, all that is left to do is save the merged PDF. From here, you can utilize IronPDF's various PDF tools to further edit and manipulate this PDF document. Beyond the basic merging of two PDF documents, IronPDF is capable of merging any number of PDF documents. In our basic example, we demonstrated how you would merge two PDF documents by specifying both PDFs as separate arguments. To merge more than two documents, you would need to replace this two-argument method with a List overload, as seen here in a more advanced code example: Learn to Merge PDFs with Easy Code Examples Ver en GitHub Código https://github.com/iron-software/IronPdf.Examples/tree/main/examples/merge-pdfs 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