Icon for Image Deskew  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Icon for Image Deskew

Post by prime clinical systems » Sat Feb 08, 2020 1:57 am

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 1108 times
Dll image [attachment=0]programmerdll.JPG
Thanks
Attachments
programmerdll.JPG
programmerdll.JPG (20.42 KiB) Viewed 1108 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 4943
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Icon for Image Deskew

Post by Sasha - Tracker Dev Team » Sat Feb 08, 2020 8:00 am

Hello prime clinical systems,

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

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Re: Icon for Image Deskew

Post by prime clinical systems » Sat Feb 08, 2020 4:20 pm

Will this command work without the plugin?
https://sdkhelp.tracker-software.com/vi ... age_Deskew

thanks

User avatar
Sasha - Tracker Dev Team
User
Posts: 4943
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Icon for Image Deskew

Post by Sasha - Tracker Dev Team » Mon Feb 10, 2020 7:58 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Re: Icon for Image Deskew

Post by prime clinical systems » Tue Feb 11, 2020 4:34 pm

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 24 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 4943
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Icon for Image Deskew

Post by Sasha - Tracker Dev Team » Wed Feb 12, 2020 8:06 am

Hello prime clinical systems,

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

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Re: Icon for Image Deskew

Post by prime clinical systems » Wed Feb 12, 2020 7:02 pm

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4943
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Icon for Image Deskew  SOLVED

Post by Sasha - Tracker Dev Team » Thu Feb 13, 2020 10:39 am

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 30 times
First of all the plugin initialization should happen before the form creation. And also, you forgot the Start/FinishLoadingPlugins methods.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Re: Icon for Image Deskew

Post by prime clinical systems » Fri Feb 14, 2020 5:41 am

Hi, thanks so much, So where do I send the beer? Works great.

User avatar
Sasha - Tracker Dev Team
User
Posts: 4943
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Icon for Image Deskew

Post by Sasha - Tracker Dev Team » Fri Feb 14, 2020 7:39 am

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply