0 Replies Latest reply on Apr 2, 2014 2:41 AM by JosDeKlos

    Changing Font Size Annotations

    JosDeKlos

      Hi,

       

      I'm trying to update the font size of the excisting annotations in a document.

       

      My current code:

       

      function AnnotFontSize()

      {

          this.syncAnnotScan();

          var annots = this.getAnnots({

              nPage:0,

              nSortBy: ANSB_Page

          });

          for (var i = 0; i < annots.length; i++)

          {

              var annot = annots[i] ;

              annot.setProps({

              textSize: 10

      })

          }

      }

       

       

      Now it seems that textSize is not a property of the setProps method. I'm asuming there must be another way to do this, other than reading all the comments and recreating them...

      Could anyone help me with this?

       

      Kr