With the new Editor SDK, I have had a number of customers alert me to the fact that when a PDF is poorly formatted error or warning messages appear in the Editor about things like misaligned objects or other problems detected in the document.
In the ViewerAX, which we used before the Editor SDK, apparently these message did not show up.
Is there a way to turn off these messages when opening a PDF?
--Jeff
Opening Badly Formated PDFs
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.
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.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Opening Badly Formated PDFs
Hello Jeff,
Can you please show one of those warnings on a screenshot?
Cheers,
Alex
Can you please show one of those warnings on a screenshot?
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Opening Badly Formated PDFs
See attached.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Opening Badly Formated PDFs
Hello Jeff,
You will have to fill the DocInfoBar.DisabledSpans array in settings with the IDs of the info bars that need to be hidden. Here's the list:
Alex
You will have to fill the DocInfoBar.DisabledSpans array in settings with the IDs of the info bars that need to be hidden. Here's the list:
- docInfoBarSpan.ProFeaturesUsed
docInfoBarSpan.ViewSignVer
docInfoBarSpan.PDFA
docInfoBarSpan.DigiSig
docInfoBarSpan.Form
docInfoBarSpan.ApplyRedact
docInfoBarSpan.ApplySign
docInfoBarSpan.BrokenFlags
docInfoBarSpan.FlashAvail
docInfoBarSpan.UR3
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Opening Badly Formated PDFs
Do you have a code snippet example of how to set this array?
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Opening Badly Formated PDFs
Hello Jeff,
Like any other array type CAB node:
Cheers,
Alex
Like any other array type CAB node:
Code: Select all
PDFXEdit.ICabNode input = pOp.Params.Root["Input"];
input.Add().v = pAnnot;
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ