Rectangle Class

Represents a rectangle report item.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.ReportElement
    Microsoft.ReportingServices.OnDemandReportRendering.ReportItem
      Microsoft.ReportingServices.OnDemandReportRendering.Rectangle

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class Rectangle _
    Inherits ReportItem
'Usage
Dim instance As Rectangle
public sealed class Rectangle : ReportItem
public ref class Rectangle sealed : public ReportItem
[<SealedAttribute>]
type Rectangle =  
    class 
        inherit ReportItem 
    end
public final class Rectangle extends ReportItem

The Rectangle type exposes the following members.

Properties

  Name Description
Public property Bookmark Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action. (Inherited from ReportItem.)
Public property CustomProperties Gets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public property DataElementName Gets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets a value that indicates whether the rectangle should be rendered in the report output, or if only its content should be rendered. (Overrides ReportItem.DataElementOutput.)
Public property DefinitionPath Gets the path to this report definition object in the report definition. (Inherited from ReportItem.)
Public property DocumentMapLabel Gets an expression that evaluates to a label to identify an instance of a report item within the client UI (to provide a user-friendly label for searching). (Inherited from ReportItem.)
Public property Height Gets the height of the item. (Inherited from ReportItem.)
Public property ID Gets the unique identifier for this report definition object. (Inherited from ReportItem.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object. (Inherited from ReportItem.)
Public property IsSimple Gets a value that indicates this is an auto-generated rectangle, which is needed only as a container for other report items. An auto-generated rectangle will have no style properties of its own.
Public property KeepTogether Gets a value that indicates the entire contents of the rectangle should be kept together on one page if possible.
Public property Left Gets the distance from the rectangle to the left side of the container. (Overrides ReportItem.Left.)
Public property LinkToChild Gets the name of a report item contained directly within this rectangle that is the target location for the Document Map label (if any). (Overrides ReportItem.LinkToChild.)
Public property Name Gets the name of rectangle. (Overrides ReportItem.Name.)
Public property OmitBorderOnPageBreak Gets a value that indicates the borders should not appear at locations where the rectangle spans multiple pages.
Public property PageBreak Gets the page break behavior for the rectangle.
Public property PageName Gets an expression that evaluates to the page name.
Public property ParentDefinitionPath Gets the path to report definition object's parent in the report definition. (Inherited from ReportElement.)
Public property RepeatedSibling Gets a Boolean value that indicates whether this report item has a specified RepeatWith property. (Inherited from ReportItem.)
Public property RepeatWith Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (Inherited from ReportItem.)
Public property ReportItemCollection Gets the report items in the rectangle.
Public property Style Gets the style properties of this report definition object. (Inherited from ReportItem.)
Public property ToolTip Gets an expression that evaluates to a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (Inherited from ReportItem.)
Public property Top Gets the distance from this rectangle to the top of the container. (Overrides ReportItem.Top.)
Public property Visibility Gets the current visibility state of this report object. (Overrides ReportItem.Visibility.)
Public property Width Gets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
Public property ZIndex Gets the drawing order of the report item within the containing object. Items with lower indices should be drawn first (appearing behind items with higher indices). (Inherited from ReportItem.)

Top

Methods

  Name Description
Public method CreateCustomProperty Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items. (Inherited from ReportItem.)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.OnDemandReportRendering Namespace