Height Element (RDL)

Indicates the height of the item.

<Body> <!-- or <PageHeader>, <PageFooter>, <Line>, <Rectangle>, <Textbox>, <Header>, <Subreport>, <List>, <Matrix>, <Table>, <Chart>, <CustomReportItem>, <ColumnGrouping>, <MatrixRow>, <Header>, <Footer>, <Details> -->
</Body> <!-- or /PageHeader, /PageFooter, /Line, /Rectangle, /Textbox, /Image, /Subreport, /List, /Matrix, /Table, /Chart, /CustomReportItem, /ColumnGrouping, /MatrixRow, /HeaderRow, /FooterRow, /DetailsRow -->

Characteristic Description

Data type and length


Default value

See "Remarks."


0-1: Optional element that can occur once or not at all.

The string for the Height element must contain a number (with a period character used as an optional decimal separator). The number must be followed by a designator for a CSS length unit such as cm, mm, in, pt, or pc. A space between the number and the designator is optional. For more information about size designators, see "CSS Length Units Reference" at msdn.microsoft.com.

The maximum size for Height is 160 inches. The minimum size is 0 inches.

Only lines can have a negative size. Height combined with width determines the endpoint of the line.

If the Height element is omitted, the default is the value of Height for the containing item minus the value of the sibling Top element, except for table or matrix report items. For a table or matrix, the default is derived from the sizes of the columns, rows, and cells.

Community Additions