pdfGetNumStrokes

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