RichText.SetSize

RichText.SetSize ( 

string ObjectName,

number Width,

number Height )

Example 1

RichText.SetSize("Grower", 100, 150);

Sets the "Grower" richtext object's width to 100 pixels and it's height to 150 pixels.

Example 2

RichText.SetSize("Expand", RichText.GetSize("Expand").Width + 200, RichText.GetSize("Expand").Height + 100);

Increases the "Expand" richtext object's current width by 200 pixels and it's current height by 100 pixels. The RichText.GetSize action is used here to get the current size of the richtext object.

See also:  Related Actions