The Rectangle type exposes the following members.

Constructors

  Name Description
Public method Rectangle
Initializes a new instance of the Rectangle class.

Methods

  Name Description
Public method AssignFrom
Copies properties from another Rectangle to the current object.
(Overrides ReportItem..::..AssignFrom(ReportElement).)
Public method Clear
Clears the current object, sets all properties to their default values.
(Inherited from ReportElement.)

Properties

  Name Description
Public property ActionInfo
Gets the ActionInfo object containing actions (such as hyperlinks) associated with the current object.
(Inherited from ReportItem.)
Public property Bookmark
Gets or sets a bookmark that can be linked to via a BookmarkLink action.
(Inherited from ReportItem.)
Public property Bottom
Gets the bottom coordinate of the current object.
(Inherited from ReportItem.)
Public property CustomProperties
Gets CustomProperties collection containing custom information about the current report item.
(Inherited from ReportItem.)
Public property DataElementName
Gets or sets the name to use for the data element/attribute for this report item. Default: Name of the report item. Must be a CLS-compliant identifier.
(Inherited from ReportItem.)
Public property DataElementOutput
Gets or sets a value indicating whether the current item should appear in a data rendering.
(Inherited from ReportItem.)
Public property DocumentMapLabel
Gets or sets a label to identify an instance of the current report item within the client UI (to provide a user-friendly label for searching). Hierarchical listing of report item and group labels within the UI (the Document Map) should reflect the object containment hierarchy in the report definition. Peer items should be listed in left-to-right top-to-bottom order. If the expression returns null, no item is added to the Document Map. Not used for report items in the page header or footer.
(Inherited from ReportItem.)
Public property Height
Gets or sets the width of the current item. Negative sizes are allowed only for lines (the height/width gives the offset of the endpoint of the line from the start point).

Default is null which means the height of the containing object minus Top.

(Inherited from ReportItem.)
Public property KeepTogether
Gets or sets a value indicating whether all of the contents of the rectangle should be kept together on one page if possible.
Public property Left
Gets or sets the distance of the current item from the left of the containing object.

The default is 0.

(Inherited from ReportItem.)
Public property LinkToChild
Gets or sets the name of a report item contained directly within this rectangle that is the target location for the Document Map label (if any). Ignored if DocumentMapLabel is not present.
Public property Name
Gets or sets the name of the current report item. That name should not be empty and must be unique within the report.
(Inherited from ReportItem.)
Public property OmitBorderOnPageBreak
Gets or sets a value indicating that borders should not appear at locations where the rectangle spans multiple pages. Also causes repeated background images to continue rather than restart after a page break.
Public property PageBreak
Gets the PageBreak object defining page break behavior for the current rectangle.

Null (default) means no page break.

Public property RepeatWith
Gets or sets the name of a data region that this report item should be repeated with if that data region spans multiple pages. The data region must be in the same ReportItems collection as this ReportItem (Since data regions are not allowed in page headers/footers, this means RepeatWith will be unusable in page headers/footers). Not allowed if this report item is a data region, subreport or rectangle that contains a data region or subreport.
(Inherited from ReportItem.)
Public property Report
Gets the C1RdlReport containing the current object.
(Inherited from ReportItem.)
Public property ReportItems
Gets the collection of child report items.
Public property Right
Gets the right coordinate of the current object.
(Inherited from ReportItem.)
Public property Style
Gets the Style object defining style information for the current ReportElement.
(Inherited from ReportElement.)
Public property ToolTip
Gets or sets a textual label for the current report item.
(Inherited from ReportItem.)
Public property Top
Gets or sets the distance of the current item from the top of the containing object.

The default is 0.

(Inherited from ReportItem.)
Public property Visibility
Gets the Visibility object indicating if the current item should be hidden.
(Inherited from ReportItem.)
Public property Width
Gets or sets the height of the current item. Negative sizes are allowed only for lines (the height/width gives the offset of the endpoint of the line from the start point).

Default is null which means the width of the containing object minus Left.

(Inherited from ReportItem.)
Public property ZIndex
Gets or sets the drawing order of the current report item within containing object. Items with lower indices are drawn first (appearing behind items with higher indices). Items with equal indices have unspecified rendering order.

Default: 0 Min: 0 Max: 2147483647

(Inherited from ReportItem.)

See Also