Leer archivos PDF en C# Extracting text and images can facilitate data migration when transitioning from one document format to another. Extracted content can be preserved in a more accessible and editable format, reducing the risk of data loss. Embedded images and text can be extracted independently of the PDF document. The extracted text will be in a normal string, while the extracted images will be in image buffer format and can then be exported or further processed. Use the extractText method to extract text, and the extractRawImages method to extract images from a PDF document. Here is a corrected and commented example of how you might do this: In the above C# code: We use the IronPDF library to load a PDF document. ExtractText() method is invoked to retrieve text from the PDF. This text is output to the console. ExtractImages() method is used to extract images, which are stored in byte arrays. Each image is then saved to the file system with a specified file name. For more detailed instructions on how to use these methods, visit the IronPDF Documentation. Explore More on Reading PDF Text with IronPDF Enlaces de Documentos Ver en Github 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? Versión: 2025.11 recién lanzado Instalación gratuita con npm 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