How to get an element height

I checked all the official documentation and found nothing in reference to calculating the height or width of an element.