TextStyleProperties.setTextFont

Sets the list of text fonts, this is equivalent to the CSS font-family property and any valid value for this CSS property can be used. Setting this property to null removes any existing value. Note that any inherited value from a parent control may still apply.

Examples:

 controls.TEXT1.textFont = "sans-serif";
 controls.TEXT1.setTextFont("Arial, Verdana");
 

Parameters

java.lang.String  textFont,