共用方式為


Rectangle Element (RDL)

Defines a rectangle to be drawn in the report.

語法

<ReportItems>
    ...
    <Rectangle Name="...">
        <Style>...</Style>
        <Top>...</Top>
        <Left>...</Left>
        <Height>...</Height>
        <Width>...</Width>
        <ZIndex>...</ZIndex>
        <Visibility>...</Visibility>
        <ToolTip>...</ToolTip>
        <Label>...</Label>
        <LinkToChild>...</LinkToChild>
        <Bookmark>...</Bookmark>
        <RepeatWith>...</RepeatWith>
        <Custom>...</Custom>
        <ReportItems>...</ReportItems>
        <PageBreakAtStart>...</PageBreakAtStart>
        <PageBreakAtEnd>...</PageBreakAtEnd>
    </Rectangle>
    ...
</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 rectangle.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Bookmark, Custom, Height, Label, LinkToChild, Left, PageBreakAtEnd, PageBreakAtStart, RepeatWith, ReportItems, Style, ToolTip, Top, Visibility, Width, ZIndex

備註

Page breaks on rectangles are ignored if the rectangle contains no child report items.

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助