Udostępnij za pośrednictwem


Line Element (RDL)

Defines a line to be drawn in the report.

Syntax

<ReportItems>
       ...
        <Line Name="...">
              <Style>...</Style>
              <Top>...</Top>
              <Left>...</Left>
              <Height>...</Height>
              <Width>...</Width>
              <ZIndex>...</ZIndex>
              <Visibility>...</Visibility>
              <Label>...</Label>
              <Bookmark>...</Bookmark>
              <RepeatWith>...</RepeatWith>
              <Custom>...</Custom>
        </Line>
       ...
</ReportItems>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur once or more.

Element Attributes

Attribute Type Description

Name

String

Name of the line.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Bookmark, Custom, Height, Label, Left, RepeatWith, Style, Top, Width, Visibility, ZIndex

Remarks

To draw lines with endpoints above or to the left of the origin, use negative values in both or either of the Width and Height elements. When you use negative values, the sum of Top and Height and the sum of Left and Width cannot be less than zero.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance