4 Replies Latest reply: Aug 18, 2014 8:24 AM by bobsteamer RSS

    How do I obtain a list of a document's "FontWeightNames"

    bobsteamer

      FM 12 - Javascript

       

      I cannot find the correct way to obtain a list of a document's "FontWeightNames"

       

      This is as I understand it (but it does not work):

       

      var mydocweights = MyDoc.FontWeightNames
                                              

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

                                              
        alert(mydocweights[i])                
                                              
      }