IvyTools

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: IvyDocumentReader not recognised in visual studio  (Read 501 times)

knarf

  • Newbie
  • *
  • Posts: 2
    • View Profile
IvyDocumentReader not recognised in visual studio
« on: December 11, 2018, 08:06:42 AM »

Hello,

I added the dll as a reference to the solution.
This is on top of my code: using IvyPdf;

This line:
PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(MyFileName));


IvyDocumentReader does not exist......
Logged

admin

  • Administrator
  • Newbie
  • *****
  • Posts: 14
    • View Profile
Re: IvyDocumentReader not recognised in visual studio
« Reply #1 on: December 11, 2018, 10:18:46 AM »

Hello knarf,

IvyDocumentReader is located in IvyDocumentReader.dll. Please reference it in your project in addition to IvyPdf.dll.

There are 3 dlls in IvyPdf folder. You need to reference some or all of them, depending on your needs:

IvyDocumentReader.dll - contains methods to read PDF files into IvyDocument object (collection of text Tokens and Lines)
IvyPdf.dll - contains methods to parse IvyDocument, search and extract information
IvyTemplateLib.dll - contains methods to read/write/execute extraction templates created via IvyTemplateEditor

For your sample code you need to reference the first two dlls.

Hope this helps. Please let me know if you still have troubles.
Andrew
Logged