---
title: height
framework: tvml
role: article
role_heading: Article
path: tvml/image-attributes-height
---

# height

Specifies the maximum height for an image.

## Overview

Overview The image is shrunk to fit the bounding box if the image is bigger than the size specified for the height attribute. You must declare either a height style or attribute for an image. Declaring a style overwrites an attribute declaration. Here’s an example that sets the height of the image to 200 points. <img src="resource://mpaa-g" height="200"> Values for height Elements that Use height decorationLabel fullscreenImg heroImg img

## See Also

### Image Size

- [width](tvml/image-attributes-width.md)
- [aspectRatio](tvml/aspectratio.md)
