Partager via


Width Element (RDL)

Indicates the width of the item.

Syntaxe

<Report> <!-- or Line, Rectangle, Textbox, Image, Subreport, List, Matrix, Table, Chart, CustomReportItem, RowGrouping, MatrixColumn, TableColumn -->
       ...
        <Width>...</Width>
       ...
</Report> <!-- or /Line, /Rectangle, /Textbox, /Image, /Subreport, /List, /Matrix, /Table, /Chart, /CustomReportItem /RowGrouping, /MatrixColumn, /TableColumn -->

Element Characteristics

Characteristic Description

Data type and length

String

Default value

See "Remarks."

Cardinality (when used as a child of Report)

1-1: Required element that occurs once and only once.

Cardinality (all other cases)

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

Element Relationships

Relationship Element

Parent elements

Chart, CustomReportItem, Image, Line, List, Matrix, MatrixColumn, Rectangle, Report, RowGrouping, Subreport, Table, TableColumn, Textbox

Child element

None

Notes

The string for the Width element must contain a number (with the 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 value for Width is 160in. The minimum value is 0in.

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

If the Width element is omitted, the default is the value of Width for the containing item minus the value of the sibling Left element, except for a table or matrix. 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