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
Hi, i have a pdf document that is signed. When i open the pdf in the pdf-xchange viewer (standalone) it shows a signature stamp at the bottom left of the 1st page.
This signature has a signer, a date, a reason and a location and they all show correct.
We have a preview window in our software based on the pdf exchange viewer sdk and when i open the same document in this viewer component, document is shown completely correct except for the signature. The signature's signer is gone (the complete 1st line of the signature) and the date (which is the longest line) is cut short at the end; the time stamp in that line reads: 15:44:09 and in this viewer it's cut short so that half of the 0 is shown. The complete signature looks like it is shown in the wrong font, something not truetype, but more like a typewriters with a lot of space between it.
Perhaps i need to make some setting in the viewer from code, but i can't find any related properties.
Correct signature:
Bad signature:
Last edited by EzWz on Thu Mar 22, 2012 9:28 am, edited 1 time in total.
Please make sure that the SDK build and the stand alone Viewer match - and also check that it is build 201 for both. If not - update them and try once again.
As for the images - you will need to archive them first - and attach them as zip/rar/7z package.
For this issue i don't see any difference with 199 (meaning the problem still exists in the viewer in our software and does not exist in the standalone pdf exchange viewer).
That alone still leads me to presume you have some setting adjusted that I am not setting from code, that has influence on signature's....
When I open the document in a vb6 sample, for example "fulldemo" (by tracker) then my signature is shown "bad".
When I do the exact same thing for a vb.net sample (also fulldemo), then the signature is shown ok.
The working of the two is clearly different in respect to the signatures somehow.
Our code uses the vb6 variant of the pdf exchange viewer and therefor has the signature shown incorrect.
Bug perhaps? Still, the question remains: can i adjust this behaviour with some property or something or is the only way forward a bugfix + new release?
Regards, Erwin
Thanks for the additional info. Could you please supply one such sample file for testing at our end, and we will try to reproduce this issue at our end.
The reason for your problem - you have forgotten to add one sdk-file named 'resource.dat' near 'PDFXCview.exe' (its a core part of our SDK).
Copy 'resource.dat' file from the SDK-package into your app. folder (which already contains 'PDFXCview.exe') and this problem will disappear..
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Correct! Or better: the executable + the dll where copied to a 2nd location by mistake and registered there without the resource.dat but the effect is the same.
I deleted the 2nd location and re-registered the first and now it works ok!