resize


Description:

[ Version ( since = "2.8" ) ]
public bool resize (double width, double height)

Resize the box of a text layer.

This procedure changes the width and height of a text layer while keeping it as a text layer and not converting it to a bitmap like resize would do.

Parameters:

this

The text layer.

width

The new box width in pixels.

height

The new box height in pixels.

Returns:

TRUE on success.