Leer archivos PDF en C# The PdfDocument.ExtractAllText method from the IronPDF C# PDF library is perfect for vanilla PDF text reading tasks. This method handles whitespace and encoding discrepancies within source PDF documents without any issue. PdfDocument.ExtractTextFromPage reads the text from specific pages of a PDF. In the example below, we see it used iteratively to retrieve text content from a specific range of pages. IronPDF can also extract raw images from PDFs. For this, use either of the methods from the PdfDocument class below: ExtractAllImages: returns all images embedded in a PDF as IronSoftware.Drawing.AnyBitmap objects. ExtractAllRawImages: retrieves all embedded images as a list of raw bytes (byte[]). ExtractImagesFromPage: extracts the images contained on an indexed page. ExtractImagesFromPages: same as ExtractImagesFromPage, but from a specific page range or a list of individual pages. ExtractRawImagesFromPage and ExtractRawImagesFromPages: works the same as the previous two methods, but returns extracted images as byte arrays instead of as IronSoftware.Drawing.AnyBitmap objects. How to Read PDF Files in C# Download IronPDF Library for C# Extract Images or Text from PDF Read and Find Words in Specific Documents View PDF Output from your original document Learn more about ExtractTextFromPage Method Ver en GitHub Código https://github.com/iron-software/IronPdf.Examples/tree/main/examples/reading-pdf-text 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