Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

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

$
0
0

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])                
                                        
}                                       

Viewing all articles
Browse latest Browse all 23442


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>