Page 1 of 1

Icon for Image Deskew

Posted: Sat Feb 08, 2020 1:57 am
by prime clinical systems
Hi, in the document editor End User version there are buttons in the Document for Enhance Scanned Pages, and Deskew Pages Content. The programmers PDFXEditCorex86.dll, these two options don't appear in the menu, and in customize toolbar mode, searching for the deskew button cmd.pdfopt.pagesDeskew reveals no items/icons, so I exported an .XCES file from the end user editor, and tried to import into programmers version, but it doesnt show up. using same version of enduser and editor dll of v8 build 344.0

Enduser image
Enduser.JPG
Enduser.JPG (20.12 KiB) Viewed 3126 times
Dll image [attachment=0]programmerdll.JPG
Thanks

Re: Icon for Image Deskew

Posted: Sat Feb 08, 2020 8:00 am
by Sasha - Tracker Dev Team
Hello prime clinical systems,

You will need to add the Optimizer plugin for these commands to work.

Cheers,
Alex

Re: Icon for Image Deskew

Posted: Sat Feb 08, 2020 4:20 pm
by prime clinical systems
Will this command work without the plugin?
https://sdkhelp.pdf-xchange.com/vi ... age_Deskew

thanks

Re: Icon for Image Deskew

Posted: Mon Feb 10, 2020 7:58 am
by Sasha - Tracker Dev Team
Hello prime clinical systems,

That method will work, though it's an IIXC library and will work only with IIXC_Page - and you will have to modify the IPXC/IPXV levels. That requires some additional coding that will give you the result which will differ from the Optimizer's deskew - as it was additionally optimized. You simply should add the needed plugin and use the required functionality - the plugin should be available for usage as you have the Editor SDK key.

Cheers,
Alex

Re: Icon for Image Deskew

Posted: Tue Feb 11, 2020 4:34 pm
by prime clinical systems
Well I tried, but with vb6 I can't find a way to use it, as when the control is drawn on the form, the instantiation of the INST is automatic, and there is no way to just reference the dll, and createcontrol does not work in vb6, if someone could help me get it to work with attached small project, I would really appreciate it.

ce
TestPDF.zip
(1.29 KiB) Downloaded 101 times

Re: Icon for Image Deskew

Posted: Wed Feb 12, 2020 8:06 am
by Sasha - Tracker Dev Team
Hello prime clinical systems,

Basically you want an assistance of adding the Optimizer plugin to your vb6 project?

Cheers,
Alex

Re: Icon for Image Deskew

Posted: Wed Feb 12, 2020 7:02 pm
by prime clinical systems
Well, I added the code that you suggested, and does not work, so yes, how much would it cost to help me?
This is really important to me because, I'm wanting to get rid of my leadtools image control, now that i've seen how one can open tif's, jpgs etc with pdf editor, this way I can save them all to PDF, and at the same time, use image enhancement functions of the plug in, and thus I would have no further licensing needs from Lead Tools. So any help I can get would greatly be appreciated.

ce

Re: Icon for Image Deskew  SOLVED

Posted: Thu Feb 13, 2020 10:39 am
by Sasha - Tracker Dev Team
Hello prime clinical systems,

A beer for the dev would suffice :D

There were several problems with your code - here's the fixed version:
TestPDF_ok.zip
(22.64 KiB) Downloaded 114 times
First of all the plugin initialization should happen before the form creation. And also, you forgot the Start/FinishLoadingPlugins methods.

Cheers,
Alex

Re: Icon for Image Deskew

Posted: Fri Feb 14, 2020 5:41 am
by prime clinical systems
Hi, thanks so much, So where do I send the beer? Works great.

Re: Icon for Image Deskew

Posted: Fri Feb 14, 2020 7:39 am
by Sasha - Tracker Dev Team
:)