WoW:API Region GetHeight

Revision as of 18:32, 10 December 2004 by WoWWiki>AeroBrain (Returns the height of a frame-based object)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetHeight -Documentation by AeroBrain-

Gets the height of a frame-based object.

obj:GetHeight();

Arguments
nil

Returns
Height of the frame-based object.

Example
myAddonOptionsParent = myAddonOptions:GetParent();
myAddonOptions:SetHeight(myAddonOptionsParent:GetHeight() / 2);
Result
The frame named 'myAddonOptions' would be set to half the height of its parent frame.

Description
Returns the height of a frame-based object.

Template:WoW API