Imprimir con Diálogo Use the ShowPrintDialog method to display the settings dialog before printing the document. This can be handy for presenting GUI print settings. Here's an example in C#: Explanation PrintDocument Creation: We create an instance of PrintDocument, which is used to handle the document to be printed. Event Handler: We attach an event handler (PrintDocument_PrintPage) to manage the actions to be taken when a page is printed. PrintDialog Setup: A PrintDialog is initialized and assigned to the PrintDocument. This dialog allows users to configure their printing preferences. Executing Print: We show the print dialog using ShowDialog(). If the user confirms the settings by clicking OK, the document is sent to the printer using printDocument.Print(). PrintPage Event: Within the event handler (PrintDocument_PrintPage), we define what content appears on the printed page using graphics methods, such as DrawString, to render text onto the page. Explore more on customizing print settings with IronPrint. Enlaces de Documentos Ver en Github Tutorial Relacionado Guía de Cómo Hacer Relacionada Documentación de Clase Descargar IronPrint DLL Reportar un problema en esta página ¿Listo para empezar? Nuget Descargas 34,016 | Versión: 2025.11 recién lanzado Descarga Gratis de NuGet Descargas totales: 34,016 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