ShowBrokenInfo - Identifying Issues with PDF documents

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

Post Reply
GregWente
User
Posts: 9
Joined: Wed May 05, 2010 6:26 pm

ShowBrokenInfo - Identifying Issues with PDF documents

Post by GregWente »

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.
User avatar
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

Post by Vasyl-Tracker Dev Team »

Hi, Greg.

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.
GregWente
User
Posts: 9
Joined: Wed May 05, 2010 6:26 pm

Re: ShowBrokenInfo - Identifying Issues with PDF documents

Post by GregWente »

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!
User avatar
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

Post by Vasyl-Tracker Dev Team »

No such indicator currently. But you may try to obtain state of 'ShowBrokenInfo' command when document is opened:

Code: Select all

pdfViewer.GetProperty("Commands["ShowBrokenInfo"].State", val, 0);

bool docIsBroken = val != 0;
HTH
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.
GregWente
User
Posts: 9
Joined: Wed May 05, 2010 6:26 pm

Re: ShowBrokenInfo - Identifying Issues with PDF documents

Post by GregWente »

Worked perfectly. Thank you!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: ShowBrokenInfo - Identifying Issues with PDF documents

Post by Tracker Supp-Stefan »

:)
Post Reply