I would like to manage by myself annotations in a PDF file (from reading them using low-level function to editing and showing them).
In order to do it, I need the viewer not to show them (as I want to do it).
Is it possibile?
Thanks,
Federico.
hide annotations in viewer
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: hide annotations in viewer
You can execute the "HideAllComments" (36435) command to hide all comments and "ShowAllComments" (36436) to show them

Code: Select all
PDFXCview.DoVerb("", "ExecuteCommand", "HideAllComments", vDataOut, 0);
PDFXCview.DoVerb("", "ExecuteCommand", "ShowAllComments", vDataOut, 0);