Search found 914 matches

by jeffp
Wed Jan 04, 2017 1:54 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

See attached.
by jeffp
Wed Jan 04, 2017 9:58 am
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

See the attached file. You'll notice that the hidden OCR text is still being placed straight up. My objective is to have the OCR text placed at a 90 degree rotation so that it is placed behind the text on the image, which is rotated at 90 degrees. Here's how my OCR engine works. The PDF page is extr...
by jeffp
Tue Jan 03, 2017 5:16 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

Same result as the one I send you. The text is not rotated 90 to match the text in the image. Maybe we need to do a much more simple example. Could you show me how to create a new empty PDF page and then place one word on that page in the following rotated positions 0, 90, 180, 270. Again, I'm just ...
by jeffp
Tue Jan 03, 2017 3:44 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

See the two sample files attached. Right - Before.pdf is the original file with no OCR text. Right - After.pdf is the PDF file after I try to place OCR text using the code sample I sent in the last message. The code sample in my last message details the calls I'm making. I just need some help to get...
by jeffp
Tue Jan 03, 2017 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

I still need a bit more help. Below is what I have so far but I can't figure out how to rotate the content before placing it. I'm not sure what invert is doing since what I really want is to rotate the text either 90, 180, or 270 degrees. I my case the Word items are given to me based on a 0 rotatio...
by jeffp
Tue Jan 03, 2017 2:05 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Re: Placing OCR Text onto a PDF Page

I'll work on a sample for you. In the meantime, is there a way to rotate the content in the ContentCreator before I place it on the page? That way I won't have to rotate the actual page itself. Also, can you clarify which of the CC... calls above go in the loop and which ones go outside the loop. Do...
by jeffp
Mon Jan 02, 2017 7:37 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 2495

Placing OCR Text onto a PDF Page

I'm trying to place OCR words onto a PDF page. If the page is rotated at 0 (straight up) then the code below works fine. However, if my PDF page is rotated at 90, 270 or 180, the text placement is not aligned with the word. I have a property below named AWords.Rotated that tells me the rotation of t...
by jeffp
Mon Dec 12, 2016 4:54 am
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 1709

Re: Opening Word Files SOLVED

Thanks for the detailed explanation.
by jeffp
Fri Dec 09, 2016 2:16 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 1709

Re: Opening Word Files SOLVED

Ok. Good. So there is not requirement to have your PDF Driver installed to do this conversion. One other note when converting word docs, sometimes you see very quickly a word window open and then close when doing the conversion. Is there any way to hide this completely. Lastly, since you aren't usin...
by jeffp
Thu Dec 08, 2016 8:13 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 1709

Opening Word Files SOLVED

I notice when when I open a Word file using OpenDocFromPath it spawn an instance of the WinWord.exe.

Does this mean that you are using your PDF Driver to convert the Word doc to PDF? Or does it just depend of the Editor SDK DLL only?

--Jeff
by jeffp
Thu Dec 08, 2016 7:44 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

Ok. I'm really close. I just can get the typecast right for the output. The following code compiles but errors out at the line ATargetDoc := IUnknown(pOp.Params.Root['Output'].v) as IPXC_Document; procedure TMyPDF.ImageToDocEx(AInputFile, AOutputFile: String); var nID: integer; pOp: IOperation; outp...
by jeffp
Thu Dec 08, 2016 6:31 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

the output of the operation is what the operation returns after the successful Do().
Can you show me in the Delphi code above how to get ATargetDoc assigned to the output of the Do(0);

I can't figure that out.
by jeffp
Thu Dec 08, 2016 5:58 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

Perhaps my working code would help here. Below is my procedure to convert an image file into a PDF using op.imagesToDoc I get an exception when trying to save out the PDF file; I'm happy to use either Option 1 or Options 2 below but need help in setting this up right. procedure TMyPDF.ImageToDocEx(A...
by jeffp
Thu Dec 08, 2016 3:46 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

I'm using Delphi so sometimes it's a bit difficult for me to find my way around your C# code in the full demo, but after taking a look, it appears that the Images to Document sample is just displaying a build in dialog containing those options. I'm looking for some C# code that is actually making th...
by jeffp
Wed Dec 07, 2016 8:06 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

Yes, op.imagesToDoc looks promising. Do you by chance have any sample code that uses this so I can get a better look at how you are setting up the options. In my case, I'd want to create a blank PDF page with dimensions specified by my user and then insert an image onto that page. Sometimes I'd want...
by jeffp
Wed Dec 07, 2016 8:00 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Image.InsertPage
Replies: 4
Views: 1181

Re: IIXC_Image.InsertPage

That's great. I'll follow up on this thread in a month or so.
by jeffp
Wed Dec 07, 2016 4:11 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Re: Opening Non-PDF files

Ok. That makes sense now. I didn't realize the second image was 300 dpi.

But it would still be nice to specify the default page size.

--Jeff
by jeffp
Wed Dec 07, 2016 3:50 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Non-PDF files
Replies: 15
Views: 2603

Opening Non-PDF files

The ability to open non-PDF files using the OpenDocFromPath is very nice. It allows me to convert a lot of non-PDF files to PDF. However, I was wondering about some options that may control the PDF page size when converting to PDF upon open. For example, the attached file contains two TIF files, one...
by jeffp
Wed Dec 07, 2016 3:16 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Image.InsertPage
Replies: 4
Views: 1181

IIXC_Image.InsertPage

If I load a large TIF file using IIXC_Image.Load(PChar(AFileName), ImageLoad_Deferred) and then insert one of more pages using IIXC_Image.InsertPage It appears that I can't save the additions to the file using IIXC_Image.Save Until all the pages are loaded. Is there a way to add additional pages to ...
by jeffp
Fri Dec 02, 2016 1:49 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 7057

Re: IIXC_Page to DIB SOLVED

That's fine. Thanks for the update.
by jeffp
Wed Nov 30, 2016 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 7057

Re: IIXC_Page to DIB SOLVED

Any progress on this one?
by jeffp
Wed Nov 23, 2016 6:58 pm
Forum: PDF-XChange Editor SDK
Topic: Add Bookmark Issue
Replies: 10
Views: 1869

Re: Add Bookmark Issue

Would you mind sending me a link to that page? I obviously missed it.

--Jeff
by jeffp
Wed Nov 23, 2016 4:04 pm
Forum: PDF-XChange Editor SDK
Topic: Add Bookmark Issue
Replies: 10
Views: 1869

Re: Add Bookmark Issue

I realize the help wiki is a work in progress, but my main point was that I only bother you guys with questions after I've searched for answers myself.

--Jeff
by jeffp
Wed Nov 23, 2016 3:53 pm
Forum: PDF-XChange Editor SDK
Topic: Add Bookmark Issue
Replies: 10
Views: 1869

Re: Add Bookmark Issue

Perfect. That worked.

But how in the world would I have found that value? Was it documented somewhere that I missed?

I usually search what documentation it out there for answers before I post.

--Jeff
by jeffp
Tue Nov 22, 2016 5:37 pm
Forum: PDF-XChange Editor SDK
Topic: Add Bookmark Issue
Replies: 10
Views: 1869

Re: Add Bookmark Issue

Ok. I found my mistake, but now I need to know how to get X, Y, and Z on the bookmark to show up as "Inherited". I'm using D.nType := Dest_XYZ; But when I look at the bookmark destination it sets X: 0.00 and Y: 0.00 and Zoon: Inherited. I want all three set to Inherited. Is this possible? ...
by jeffp
Mon Nov 21, 2016 10:00 pm
Forum: PDF-XChange Editor SDK
Topic: Add Bookmark Issue
Replies: 10
Views: 1869

Add Bookmark Issue

I'm trying to add a bookmark to a IPXC_Document using the code below. The issue is that it adds two bookmarks to the list and not one. I was using this before and it seemed to work, but now it gives two bookmarks. Is there a problem with the code below or did a bug creep into the code. procedure TMy...
by jeffp
Mon Nov 21, 2016 7:04 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

New dev build seems to have fixed this memory growth issue.

Much thanks.

--Jeff
by jeffp
Mon Nov 21, 2016 3:40 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Did the dev build with this fix get posted?
by jeffp
Mon Nov 21, 2016 3:31 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 7057

Re: IIXC_Page to DIB SOLVED

No. The bitmap is not critical. Here's my flow. I will open the image with your DLL so I will get a IIXC_Page. I then have another image library that has some image manipulation calls I need, but it takes as an input a DIB. So I will need to convert the IIXC_Page to a DIB. Then once done manipulatin...
by jeffp
Mon Nov 21, 2016 3:09 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 7057

Re: IIXC_Page to DIB SOLVED

I can already to IIXC_Page to TBitmap, but a DIB is different that a TBitmap.

For example, a DIB has a DPI but a TBitmap does not. If I go from IIXC_Page to TBitmap, I lose the IIXC_Page DPI. It doesn't carry over to the TBitmap.
by jeffp
Sat Nov 19, 2016 4:25 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 7057

IIXC_Page to DIB SOLVED

I'm using a lot of your image calls but sometimes I need to manipulate the image in other programs that use DIBs. As such, I need some code that will convert your IIXC_Page into a DIB (Device Independent Bitmap) and vice versa. Do you have any code that would help me here. I'm using Delphi. Thanks. ...
by jeffp
Fri Nov 18, 2016 2:49 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Great. Thanks so much.
by jeffp
Fri Nov 18, 2016 1:44 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

When will this fix be in the dev build for me to test out?

I'm fine with the small increase in memory when the file opens. The bigger issue was the memory growth upon doing multiple saves, and it sounds like you are addressing this one.

--Jeff
by jeffp
Thu Nov 17, 2016 4:19 pm
Forum: PDF-XChange Editor SDK
Topic: Flatten Comments SOLVED
Replies: 20
Views: 4743

Re: Flatten Comments SOLVED

Finally, got the dev build and can confirm this issue is now fixed.
by jeffp
Thu Nov 17, 2016 3:56 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Unfortunately, the new dev build does not appear to fix my memory bloat issue. I'm using the new PDFXEditCore.x86.dll marked as version 6.0.318.16083 on a Win7 machine. I've updated my sample project and posted it at the link below (let me know when you get it so I can remove it. Your attach button ...
by jeffp
Thu Nov 17, 2016 1:28 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Would you mind giving me the link again. I'll bookmark it this time.
by jeffp
Wed Nov 16, 2016 11:34 pm
Forum: PDF-XChange Editor SDK
Topic: Changing File Formats
Replies: 1
Views: 695

Changing File Formats

When I convert an image file to a different file type (like .tif to .jpg), do I need to set more than just APage.Set_FmtInt(FP_ID_FORMAT, ANewFileFormatID); Or do I need to ensure things like APage.Set_FmtInt(FP_ID_BPP, 24); are set correctly as well? If so, what are the other params that should be ...
by jeffp
Wed Nov 16, 2016 5:42 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Ok. Just playing with my test project again and here's what I am seeing. Again, just saving the file out is causing a memory bloat, but once the memory of the exe gets to about 450,000K as measured by task manager, it seems to purge itself and goes back to about 50,000K. But (and this is very strang...
by jeffp
Wed Nov 16, 2016 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

Can I get a dev release of the upcoming 319 build with the fix as soon as it is fixed? Or is there something I can call in the meantime to force the memory cleanup after certain procedures that cause the memory bloat? This is a big issue for my app so I'd like to test it asap. What time frame are we...
by jeffp
Wed Nov 16, 2016 2:50 pm
Forum: PDF-XChange Editor SDK
Topic: Ability to Open Email files SOLVED
Replies: 21
Views: 6019

Re: Ability to Open Email files SOLVED

Ok. Thanks for checking.
by jeffp
Wed Nov 16, 2016 2:47 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

Re: IPXC_Document.WriteToFile Memory issue SOLVED

You mean "saved" the file 20 times or so? I guess I'm not following you here. On my end repeated saves of the file bloats the memory as indicated in the task manager. And it doesn't get released when I close the document. What do you mean by the garbage collector? Usually in Delphi the dev...
by jeffp
Wed Nov 16, 2016 8:03 am
Forum: PDF-XChange Editor SDK
Topic: Ability to Open Email files SOLVED
Replies: 21
Views: 6019

Re: Ability to Open Email files SOLVED

Much appreciated.
by jeffp
Wed Nov 16, 2016 7:53 am
Forum: PDF-XChange Editor SDK
Topic: Convert To Word Options?
Replies: 3
Views: 908

Re: Convert To Word Options?

Thanks. These look good.

Is there a place where all these options are documented for each type of file I want to export to?

--Jeff
by jeffp
Wed Nov 16, 2016 7:50 am
Forum: PDF-XChange Editor SDK
Topic: Ability to Open Email files SOLVED
Replies: 21
Views: 6019

Re: Ability to Open Email files SOLVED

Yes, I know I can use the print driver, and I can use that for Office files as well, but it nicer with the import plugin.

I'm looking to do conversions without having to use the print driver. Hence my request to add .msg and .eml files to your import plugin.

--Jeff
by jeffp
Wed Nov 16, 2016 12:09 am
Forum: PDF-XChange Editor SDK
Topic: Ability to Open Email files SOLVED
Replies: 21
Views: 6019

Ability to Open Email files SOLVED

The ability to open and convert other files types into PDF is a great feature. My question is are you working on other file types besides the ones you currently support. If you are taking requests, I'd like to request you add ability to import email file types like .msg .eml Will this be possible wi...
by jeffp
Tue Nov 15, 2016 10:10 pm
Forum: PDF-XChange Editor SDK
Topic: Convert To Word Options?
Replies: 3
Views: 908

Convert To Word Options?

The code below allows me to convert a PDF to a Word file. Seems to work fine, but with some of the other converters I had to set various Params. As such, do I need to set any params in converting to Word? What do you suggest? and where can I find a comprehensive list of all the params options availa...
by jeffp
Tue Nov 15, 2016 5:46 pm
Forum: PDF-XChange Editor SDK
Topic: IPXC_Document.WriteToFile Memory issue SOLVED
Replies: 18
Views: 4262

IPXC_Document.WriteToFile Memory issue SOLVED

I'm running into a very strange issue. My Delphi application memory size grows every time I call the following: var FDoc: IPXC_Document; ... FDoc.WriteToFile(PChar(AFileName), nil, 0) And even after a call to FDoc.Close(0); FDoc := nil; The memory still is not freed up. It appears that there is some...
by jeffp
Thu Nov 10, 2016 6:15 pm
Forum: PDF-XChange Editor SDK
Topic: Document Toolbars Not Displaying SOLVED
Replies: 9
Views: 2528

Re: Document Toolbars Not Displaying SOLVED

That was it. Thanks.
by jeffp
Thu Nov 10, 2016 4:38 pm
Forum: PDF-XChange Editor SDK
Topic: Document Toolbars Not Displaying SOLVED
Replies: 9
Views: 2528

Re: Document Toolbars Not Displaying SOLVED

Still won't work. Here is a simple Delphi Demo that will illustrate the issue.

I need the document toolbars to show at the bottom when a PDF is loaded.

Not sure what I'm missing here.

--Jeff
by jeffp
Thu Nov 10, 2016 4:04 pm
Forum: PDF-XChange Editor SDK
Topic: Document Toolbars Not Displaying SOLVED
Replies: 9
Views: 2528

Re: Document Toolbars Not Displaying SOLVED

I think there is an issue. See attached Example2.pdf attachment. This is your compiled fulldemo that I ran on my Window7 computer. Take a look at the very bottom and you'll see the document toolbars are cut off. They don't fully show. In the first screen shot I sent, which is my test demo, they don'...