2.14 Rectangle

The Rectangle element specifies properties for a rectangle that is to be drawn within a Report.

The following are the parent elements, attributes, and child elements of the Rectangle element.

Parent elements

ReportItems

CellContents

CustomReportItem.AltReportItem

Attributes

Rectangle.Name

Child elements

Rectangle.Style

Rectangle.ActionInfo

Rectangle.Bookmark

Rectangle.CustomProperties

Rectangle.DataElementName

Rectangle.DataElementOutput

Rectangle.DocumentMapLabel

Rectangle.Height

Rectangle.Left

Rectangle.RepeatWith

Rectangle.ToolTip

Rectangle.Top

Rectangle.Visibility

Rectangle.Width

Rectangle.ZIndex

Rectangle.KeepTogether

Rectangle.LinkToChild

Rectangle.OmitBorderOnPageBreak

Rectangle.PageName

Rectangle.PageBreak

Rectangle.ReportItems

Rectangle.PageBreakAtEnd

Rectangle.PageBreakAtStart

Following is the XML Schema definition of the Rectangle element in RDL 2003/10 and RDL 2005/01.

 <xsd:complexType name="RectangleType">
       <xsd:choice minOccurs="0" maxOccurs="unbounded">
         <xsd:element name="Style" type="StyleType" minOccurs="0" />
         <xsd:element name="Action" type="ActionType" minOccurs="0"/>
         <xsd:element name="Top" type="SizeType" minOccurs="0" />
         <xsd:element name="Left" type="SizeType" minOccurs="0" />
         <xsd:element name="Height" type="SizeType" minOccurs="0" />
         <xsd:element name="Width" type="SizeType" minOccurs="0" />
         <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
         <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
         <xsd:element name="ToolTip" type="xsd:string" minOccurs="0" />
         <xsd:element name="Label" type="xsd:string" minOccurs="0" />
         <xsd:element name="LinkToChild" type="xsd:string" minOccurs="0" />
         <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
         <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
         <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0"/>
         <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
         <xsd:element name="PageBreakAtStart" type="xsd:boolean" minOccurs="0" />
         <xsd:element name="PageBreakAtEnd" type="xsd:boolean" minOccurs="0" />
         <xsd:element name="DataElementName" type="xsd:string" minOccurs="0"/>
         <xsd:element name="DataElementOutput" minOccurs="0">
           <xsd:simpleType>
             <xsd:restriction base="xsd:string">
               <xsd:enumeration value="Output"/>
               <xsd:enumeration value="NoOutput"/>
               <xsd:enumeration value="ContentsOnly"/>
               <xsd:enumeration value="Auto"/>
             </xsd:restriction>
           </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="skip"/>
       </xsd:choice>
       <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
       <xsd:anyAttribute namespace="##other" processContents="skip" />
     </xsd:complexType>

Following is the XML Schema definition of the Rectangle element in RDL 2008/01.

 <xsd:complexType name="RectangleType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Top" type="SizeType" minOccurs="0" />
     <xsd:element name="Left" type="SizeType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="0" />
     <xsd:element name="Width" type="SizeType" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="LinkToChild" type="xsd:string" minOccurs="0" />
     <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
     <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
     <xsd:element name="PageBreak" type="PageBreakType" minOccurs="0" />
     <xsd:element name="KeepTogether" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="OmitBorderOnPageBreak" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
           <xsd:enumeration value="ContentsOnly" />
           <xsd:enumeration value="Auto" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

Following is the XML Schema definition of the Rectangle element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="RectangleType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Top" type="SizeType" minOccurs="0" />
     <xsd:element name="Left" type="SizeType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="0" />
     <xsd:element name="Width" type="SizeType" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="LinkToChild" type="xsd:string" minOccurs="0" />
     <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
     <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
     <xsd:element name="PageBreak" type="PageBreakType" minOccurs="0" />
     <xsd:element name="PageName" type="xsd:string" minOccurs="0" />
     <xsd:element name="KeepTogether" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="OmitBorderOnPageBreak" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
           <xsd:enumeration value="ContentsOnly" />
           <xsd:enumeration value="Auto" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>