[LIN-4983-support] PDF-XChange Editor SDK

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, 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
Jack Tseng
User
Posts: 11
Joined: Fri Feb 15, 2019 3:11 am

[LIN-4983-support] PDF-XChange Editor SDK

Post by Jack Tseng » Fri Apr 12, 2019 9:31 am

Dear team,
good day!

please help us solve our customer's questions:
I have questions with AxPXV_Control from PDF-XChange Editor SDK in version 7.0.327.1. Please request following questions

1. When I print the PDF file from Internet, it shows downloading window and then start printing. What option I can set to hide or disable this downloading window?
I will explain how I open the file as following.
1.png
I use function "OpenDocFromPath" to open internet file, and input string as "FilePath" is a url path like "http://www.xxxx/images/default/sample.pdf".
2.png
2.png (1.2 KiB) Viewed 678 times
And then I print it using "op.Do" or " AsyncDoAndWaitForFinish" with flags "OpExecFlags.OpExecFlag_NoUI" or "OpExecFlags.OpExecFlag_NoProgress". They still shows downloading window.
3.png
3.png (9.88 KiB) Viewed 678 times

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

Re: [LIN-4983-support] PDF-XChange Editor SDK

Post by Sasha - Tracker Dev Team » Fri Apr 12, 2019 9:41 am

Hello Jack,

Here's what can be done:
viewtopic.php?f=66&t=24302&p=95020&hilit=My+App#p95020

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

Jack Tseng
User
Posts: 11
Joined: Fri Feb 15, 2019 3:11 am

Re: [LIN-4983-support] PDF-XChange Editor SDK

Post by Jack Tseng » Mon Apr 15, 2019 5:41 am

Dear Sasha,
Thanks for your reply!

Our customer update their question, please kindly help us solve it:

I have questions with AxPXV_Control from PDF-XChange Editor SDK in version 7.0.327.1. Please request following questions

My issue is I don't want to show downloading dialog when I print url path like "http://www.xxxx/images/default/sample.pdf". How could I disable or hide it ?
As you said, I can solve in "viewtopic.php?f=66&t=24302&p=95020&hilit=My+App#p95020",
But:
1. It said to get the dialog's IUIX_Obj, but it didn't tell how to get it. For the more, It said it could get event e.beginModal to get IUIX_Obj, but it still didn't tell how to get.
2. I can get event e.beginModal, but I don't know how to stop it shows although I have set "e.pEvent.Handled = true" and "e.pEvent.Result = 1"
3. It said to use feature ["General.AppTitle"] to change dialog title, but I want to hide dialog not to change dialog title.


Thank you, waiting for your reply!

Kind Regards,
Jack Tseng | 曾友頡

Phone : 886-2-22212155 ext.159 | Fax : 886-2-22219008
Web: www.linksoft.com.tw | E-mail: jack@linksoft.com.tw
6F-10., No.351, Sec. 2, Zhongshan Rd., Zhonghe Dist., New Taipei City 23504, Taiwan

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

Re: [LIN-4983-support] PDF-XChange Editor SDK

Post by Sasha - Tracker Dev Team » Mon Apr 15, 2019 7:18 am

Hello Jack,

Well, the progress is not being shown by the operation, but by the OpenDocFromPath method. To hide it you can do something like this:

Code: Select all

ICab openParams = pdfCtl.Inst.CreateOpenDocParams();
ICabNode openParamsRoot = openParams.Root;
openParamsRoot.SetBool("NoProgress", true);
pdfCtl.OpenDocFromPath(@"https://www.yoururl.com/yourfile.pdf", openParams);
Also, here's the link to the CreateOpenDocParams description page:
https://sdkhelp.tracker-software.com/vi ... nDocParams

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

Post Reply