When i made an annotation, i can double click it so a textbox shows up. In this textbox you can add some comment about the annotation. In our implementation users can hide all comments on the document due the following code:
Code: Select all
string result = string.Empty;
string script = " var myAnnotList = this.getAnnots(); " +
" for (var i = 0; i < myAnnotList.length; i++) { " +
" myAnnotList[i].hidden = true;" +
" }";
axCoPDFXCview1.RunJavaScript(script, out result, 0, 0);
Rene.