pdfGetNumTextStrings

Get the number of text strings on the analyzed page(s).
int pdfGetNumTextStrings(PDFHandle pdf)
Drawn objects in PDF files are divided into four types: This function returns the number of text strings found on the pages specified in the last call to pdfAnalyzePages.
C:
int i, n, nTextStrings; n = pdfGetNumPages(pdf); for (i = 1; i <= n; ++i) { /* analyze page i */ pdfAnalyzePages(pdf, i, i); /* retrieve statistics for page i */ nTextStrings = pdfGetNumTextStrings(pdf); }
pdfAnalyzePages
pdfGetNumImages
pdfGetNumStrokes
pdfGetNumFills