ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Functions Reference > IG_PDF_text_extract

This function extracts text from pages determined by arguments nStartPage and nPageCount.


Copy Code
        LPSTR lpszFileName, 
        LPSTR lpszTextName, 
        UINT nStartPage, 
        UINT nPageCount


Name Type Description
lpFileName LPSTR Name of the PDF or PS document.
lpTextFileName LPSTR Name of the output TXT file.
nStartPage UINT The index of the first page to obtain. The first page is 1.
nPageCount UINT Total number of pages to be processed (starting at nStartPage).

Return Value:

Error count

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.