Image.SetSize

Image.SetSize ( 

string ObjectName,

number Width,

number Height )

Example 1

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

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

Example 2

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

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

See also:  Related Actions