HasNextImage

PdfExtractor.HasNextImage method

Checks if more images are accessible in PDF document. Note: ExtractImage must be called before using of this method.

public bool HasNextImage()

Return Value

Trues if more images are accessible

Examples

PdfExtractor extractor = new PdfExtractor();
extractor.BindPdf("sample.pdf");
extractor.ExtractImage();
int i = 1;
while (extractor.HasNextImage())
{
    extractor.GetNextImage("image-" + i +".pdf");
}

See Also