VintaSoft Barcode .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Image extraction from pdf (BarCode reader 6.1.2.1)



Image extraction from pdf (BarCode reader 6.1.2.1)

Post by paolozan »

Good day.
I'm trying to detect a barcode inside a pdf (1.5 version) document.
In the code fragment below, the call GetImageNames give me the exception: "Object is not found" and "Data = {System.Collections.ListDictionaryInternal}".
What's wrong ?
Thank you.
try
{
  Pdf = new Vintasoft.Barcode.PdfImageViewer(NomeFile);
}
catch(Exception Ecc)
{
  Errore = Ecc.Message;
  Pdf.Dispose();
  Pdf = null;
  return null;
}

if (Pdf.PageCount == 0)
{
  Pdf.Dispose();
  Pdf = null;
  return null;
}

string [] TmpNomiImmagini;

try
{
  TmpNomiImmagini = Pdf.GetImageNames(0);
}
catch(Exception Ecc)
{
  Errore = Ecc.Message;
  Pdf.Dispose();
  Pdf = null;
  return null;
}

if (TmpNomiImmagini.Length == 0)
{
  Pdf.Dispose();
  Pdf = null;
  return null;
}


Re: Image extraction from pdf (BarCode reader 6.1.2.1)

Post by Alex »

Hello,

Could you send us your PDF document for tests?

If yes, please send your file to support@vintasoft.com

Best regards, Alexander


Page 1 from 1: 1