Line Element (RDL)

Defines a line to be drawn in the report.

语法

<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

备注

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.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助