PDF Created by PDF Xchange ActiveX

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

mr_steph
User
Posts: 52
Joined: Tue Jul 22, 2008 8:18 am

PDF Created by PDF Xchange ActiveX

Post by mr_steph »

Hi,

I create a new PDF files using Scan command in the ActiveX. The PDF conversion tools is :
PDF-Xchange Viewer [Version : 2.0 (Build 42.2)].

I'm using XCPro30 SDK to manipulate created files by ActiveX, and I have some problems with the following functions :

Code: Select all


PDFXCp_InitEx(...) : OK
PDFXCp_ReadDocument(...) : OK
PDFXCp_Keywords(...) : NOK
PDFXCp_GetImagesNumberOnPage(...) : OK
PDFXCp_GetDIBImageFromPage(...) : NOK

Thank you for help.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: PDF Created by PDF Xchange ActiveX

Post by Corwin - Tracker Sup »

And why not to use xcscan lib for getting image from scanner and pxclib to create PDF with image?
Anyway to help you, we will need more information. Maybe you can send us sample project and PDF files, so we can reproduce your problem here?
mr_steph
User
Posts: 52
Joined: Tue Jul 22, 2008 8:18 am

Re: PDF Created by PDF Xchange ActiveX

Post by mr_steph »

You will find in sample.zip the source in cpp and the file convert by PDF-Xchange Viewer [Version : 2.0 (Build 42.2)].
This code is ok with another pdf file (1.3 and 1.4)

Thanks
You do not have the required permissions to view the files attached to this post.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: PDF Created by PDF Xchange ActiveX

Post by Corwin - Tracker Sup »

Sorry, but we cannot give you appropriate technical support for PDF-XChange libraries of versions earlier 4.0. All that I may recommend is to use latest PDF-XChange libraries.
mr_steph
User
Posts: 52
Joined: Tue Jul 22, 2008 8:18 am

Re: PDF Created by PDF Xchange ActiveX

Post by mr_steph »

We have already the latest version, but we can't find some functions like this :

PDFXCp_GetDIBImageFromPage.

I use it to extract each PDF page into HBitMap Struct.

Thanks.
mr_steph
User
Posts: 52
Joined: Tue Jul 22, 2008 8:18 am

Re: PDF Created by PDF Xchange ActiveX

Post by mr_steph »

Function "PXCp_GetDocumentInfoA" proposed in XCPro40, doesn't work on the file pdf I sent you. I obtain S_OK but I don't get any information. Value is empty.

I'm used to use this function with your product without any problems, but when I use it with pdf file generated with PDF Xchange ActiveX (Scan Function), it doesn't work.

Thank you for help.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: PDF Created by PDF Xchange ActiveX

Post by Corwin - Tracker Sup »

In XCPro40 library instead of PDFXCp_GetDIBImageFromPage, you can use PXCp_ImageGetFromPage function.
Function "PXCp_GetDocumentInfoA" proposed in XCPro40, doesn't work on the file pdf I sent you.
Try to using the unicode version PXCp_GetDocumentInfoW.
Also, please look at the sample projects which are part of SDK installation. In these samples you will find all the needed information of how to get doc info and extract images from a PDF.