WoW:API Region GetHeight

Revision as of 02:18, 7 January 2005 by WoWWiki>Flickering (Updated format)
GetHeight -Documentation by AeroBrain-

Gets the height of a frame-based object.

height = FrameLayout:GetHeight();

Arguments
none

Returns
height
height
Number - The 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.

Template:WoW API