Search found 859 matches

by jeffp
Fri Oct 02, 2009 2:32 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2197

Re: ExportDocument

I saw that example but it seems to deal with extracting images that are already in the PDF page. ExportDocument in the Viewer actually creates a TIFF (or other image file) out of the PDF page whether or not that page contains images. Is there something similar in the PDF Tools SDK?
by jeffp
Fri Oct 02, 2009 6:28 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Adding Text to a PDF Document
Replies: 5
Views: 1240

Adding Text to a PDF Document

I am a bit confused as to how to add text to a PDF document via your API. Here's my situation: I'm dealing with PDF files that are essentially images of paper documents that have been scanned in. I first extract a TIFF image of each page of the PDF and send it to my OCR engine. The OCR engine give b...
by jeffp
Fri Oct 02, 2009 6:05 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2197

ExportDocument

I need to export each page of a pdf as a TIFF file (or other image format) in order to pass it along to my OCR engine. In the Viewer SDK there is a nice ExportDocument call that does it well. However, I'd like to do this without having to open the viewer. As such, is there an equivalent to the Viewe...
by jeffp
Thu Oct 01, 2009 8:59 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1084

Re: How to Add OCR Text to an Image PDF?

The OCR engine gives me the coordinates (since I will have alreay have made a Tiff image of the PDF page and sent it to the OCR engine for processing) and I don't want the user to select the text box in the viewer so that issue is ok. As such, will RunJavaScript place text objects in the viewer docu...
by jeffp
Thu Oct 01, 2009 7:43 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1084

Re: How to Add OCR Text to an Image PDF?

What about JavaScript? I found a post on this form entitled "Problem with Doc.addAnnot method?" which seems to discuss a java script route to adding text. Below is some of that post. string script = "this.addAnnot({page : 0, type : \"FreeText\", rect : [255,10,355,30], fillColor : color.transparent,...
by jeffp
Thu Oct 01, 2009 3:20 pm
Forum: PDF-XChange Viewer SDK
Topic: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit
Replies: 3
Views: 754

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

That worked. Thanks for the file.
by jeffp
Thu Oct 01, 2009 3:19 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1084

Re: How to Add OCR Text to an Image PDF?

In a phone conversation I had with John, he mentioned he thought this was possible in the Viewer. What about the JavaScript route? Does that provide a way to embed hidden text into the active viewer document? My document will already be open in the viewer. If I went the PDF Tools route I'd have to: ...
by jeffp
Wed Sep 30, 2009 7:41 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1084

How to Add OCR Text to an Image PDF?

One of the primary items I need to replicate in my existing program if I make the switch to your PDF components is the ability to add OCR text to a PDF page in the viewer. My OCR engine gives me a bunch of text with coordinates. With my existing PDF component (that I'm not too happy with), I use the...
by jeffp
Wed Sep 30, 2009 7:10 pm
Forum: PDF-XChange Viewer SDK
Topic: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit
Replies: 3
Views: 754

Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

I'm new to your product and just trying to get up to speed by compiling your Delphi examples. However, I'm having an issue that seems to be related to the PDFXCviewAxLib_TLB.pas file that Delphi 2007 generates from your PDFXCviewAx.dll. When I try compile your PDFXChangeViewerActiveX project, the co...