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
PDFXCp_InitEx(...) : OK
PDFXCp_ReadDocument(...) : OK
PDFXCp_Keywords(...) : NOK
PDFXCp_GetImagesNumberOnPage(...) : OK
PDFXCp_GetDIBImageFromPage(...) : NOK
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?
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.
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.
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.
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.