Partager via


Height Element (RDL)

Indicates the height of the item.

Syntaxe

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

Element Characteristics

Characteristic Description

Data type and length

String

Default value

See "Remarks."

Cardinality

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

Element Relationships

Relationship Element

Parent elements

Body, Chart, ColumnGrouping, CustomReportItem, Details, Footer, Header, Image, Line, List, Matrix, MatrixRow, PageFooter, PageHeader, Rectangle, Subreport, Table, Textbox

Child element

None

Notes

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.

Voir aussi

Référence

Report Definition XML Elements

Aide et Informations

Assistance sur SQL Server 2005