API Region GetHeight

Gets the height and width, respectively, of an object.

dimension = MyObject:GetWidth; dimension = MyObject:GetHeight;

Returns

 * dimension : Number - height/width of the object in pixels, in its own coordinate space (scaling dependent). This is the desired height/width, if set with SetHeight / SetWidth, or the actual height/width used if computed from two or more SetPoint calls.

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.