ShowBrokenInfo - Identifying Issues with PDF documents
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
ShowBrokenInfo - Identifying Issues with PDF documents
We have run across some issues when loading a PDF into the PDF-XChange Viewer SDK and some of the pages are missing. When I use the PDF-XChange Viewer and open the PDF, there is an explanation mark on the status bar "Show Broken Info". It allows me to click on it for a dialog box to appear to specify the issue. What parameter can I look for in the Viewer.SDK to quickly look for "Broken Info" without having to call the "ShowBrokenInfo"? I would like to identify the issue prior to the dialog box displaying.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: ShowBrokenInfo - Identifying Issues with PDF documents
Hi, Greg.
If I understand you correctly - you need feature to get 'Broken Info' description programmatically?
Sorry, but currently it is not possible.
Cheers.
If I understand you correctly - you need feature to get 'Broken Info' description programmatically?
Sorry, but currently it is not possible.
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: ShowBrokenInfo - Identifying Issues with PDF documents
Is there an indicator that there is something wrong with the PDF? I can always pull the description from the ShowBrokenInfo dialog box when displayed.
Thank you!
Thank you!
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: ShowBrokenInfo - Identifying Issues with PDF documents
No such indicator currently. But you may try to obtain state of 'ShowBrokenInfo' command when document is opened:
HTH
Code: Select all
pdfViewer.GetProperty("Commands["ShowBrokenInfo"].State", val, 0);
bool docIsBroken = val != 0;
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: ShowBrokenInfo - Identifying Issues with PDF documents
Worked perfectly. Thank you!
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: