set_font_size


Description:

[ Version ( since = "2.6" ) ]
public bool set_font_size (double font_size, Unit unit)

Set the font size.

This procedure changes the font size of a text layer. The size of your font will be a double 'font-size' of 'unit' units.

Parameters:

this

The text layer.

font_size

The font size.

unit

The unit to use for the font size.

Returns:

TRUE on success.