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