Dear Sir,
We have license for ASPOSE.PDF.Kit, I'm trying to use the code below to extract image from pdf file but nothing happen after excuting this code, can you help me please to figure out what's wrong ?
Aspose.Pdf.Kit.License license = new Aspose.Pdf.Kit.License();
license.SetLicense(asposeLic);
String thumbPath = fullPath + @"\Thumbnails\";
String docPath = fullPath + @"\149cf0da-057e-4f65-9762-55cdcc55dad7.pdf";
PdfExtractor extractor = new PdfExtractor();
extractor.BindPdf(docPath);
extractor.StartPage = 1;
extractor.EndPage = 1;
extractor.ExtractImage();
String prefix = thumbPath + @"\149cf0da-057e-4f65-9762-55cdcc55dad7";
String suffix = ".jpg";
int imageCount = 1;
while (extractor.HasNextImage())
{
extractor.GetNextImage(prefix + imageCount + suffix);
imageCount++;
}
do I miss some code to save the image after this code ? I can't find any example in your web site or documantation.
Thanks,
Nabeel.