共用方式為


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 協助