1 Reply Latest reply on Dec 11, 2009 7:02 AM by Loic.Aigon

    String.fontsize() returns      <font size=”17”>My String</font>

    tjprinter Level 1

      I am trying to set the font size in a textFrames object but instead of getting "My String" in the default font with the size  17.  I get this

       

      var myTextFrame = document.textFrames.add()
      myTextFrame.geometricBounds = [-0.7,3.2,.5,10]
      myTextFrame.contents = "My String".fontsize (17)

       

      my text box in indesign reads

       

       

       

      <font size=”17”>My String</font>