Sometime function is not executing even after call with proper parameter

Hi Logan,

  1. When i delete any annotation(s) from a page then i am not reloading that page at all . But sometimes annotations not get deleted.
  2. When i import annotation(s) then there are 2 cases:
    1. annotation(s) imported with reload of document i.e new document.
    2. annotation(s) imported without reloading the document.
      In both cases sometime viewer doesn’t load annotations even if i call function with proper parameter.
      Please note that , I have used “importAnnotCommand()” and “deleteAnnotation()” methods to import and delete annotations respectively.
      is there any other way to do import and delete annotations?

Thank you