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

PDF-XChange Editor SDK for Developers

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

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 »

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 1444 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 1444 times
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

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

Post by Sasha - Tracker Dev Team »

Hello Jack,

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

Cheers,
Alex
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 »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

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

Post by Sasha - Tracker Dev Team »

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.pdf-xchange.com/vi ... nDocParams

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply