AutoPlay Media Studio 9

Tree.SetSize

Tree.SetSize

This is the first topic This is the last topic  

Tree.SetSize

This is the first topic This is the last topic  

OverviewExamples

Tree.SetSize (

string ObjectName,

number Width,

number Height )

Example 1

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

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

Example 2

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

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

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us