-
Change font weight in scripting?
Hi guys! (this is repost but was told it would be better received in this forum)
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 = 51;
fpoControl.fillColor = [0, 0, 0];
fpoControl.font = "Helvetica Neue";
fpoControl.text = myString;
fpoControl.justification = ParagraphJustification.CENTER_JUSTIFY;
fpoDocument.setValue(fpoControl);