WoW:API Region GetHeight: Difference between revisions

m
Line 1: Line 1:
{{widgetmethod}} __NOTOC__
{{widgetmethod}}
 
Gets the height and width, respectively, of an object.
Gets the height and width, respectively, of an object.


Line 6: Line 5:
  dimension = MyObject:GetHeight();
  dimension = MyObject:GetHeight();


== Returns ==
== Parameters ==
:;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 [[API Region SetHeight|:SetHeight]]() / [[API Region SetHeight|:SetWidth]](), or the actual height/width used if computed from two or more [[API Region SetPoint|:SetPoint]]() calls.
 
=== Arguments ===
 
=== 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 [[API Region SetHeight|:SetHeight]]() / [[API Region SetHeight|:SetWidth]](), or the actual height/width used if computed from two or more [[API Region SetPoint|:SetPoint]]() calls.


== Example ==
== Example ==