-
Accessing Font Weight in Scripting?
Hi guys!
I’m hoping this is something pretty simple I am overlooking, but I am trying to find how to set the font weight via script.
Currently I have my font set up like this. But I need to choose Helvetica Neue Medium instead. Thoughts?
fpoControl.resetCharStyle();
fpoControl.fontSize = 34;
fpoControl.fillColor = [0, 0, 0];
fpoControl.font = "Helvetica Neue";
fpoControl.text = myString;
fpoControl.justification = ParagraphJustification.CENTER_JUSTIFY;
fpoDocument.setValue(fpoControl);