Tree.GetSize

table Tree.GetSize ( 

string ObjectName )

Example 1

Size = Tree.GetSize("Tree1");

if Size.Width > 100 then
   -- the object is currently greater than 100 pixels wide
end

Gets the size of the "Tree1" tree object and compares its width to a predetermined value.

See also:  Related Actions