TextStyleProperties.setTextSize

Sets the text size, this is equivalent to the CSS font-size 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.textSize = "12px";
 controls.TEXT1.setTextSize("small");
 

Parameters

java.lang.String  textSize,