Label.SetSize

Label.SetSize ( 

string ObjectName,

number Width,

number Height )

Example 1

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

Set the "Grower" label object's width to 100 pixels and it's height to 150 pixels.

Example 2

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

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

See also:  Related Actions