2.2.7 RdlSize

This simple type specifies restrictions for a valid size string value or expression.

Elements of the RdlSize type MUST be in the following structure:

  "<FormatValue><FormatType>" 

The FormatValue property MUST have a numerical string value in the form of an Integer ([XMLSCHEMA2/2] section 3.3.17) with no thousand delimiters, optionally followed by a decimal point and a positive integer. Unless otherwise specified, the value of the FormatValue property MUST NOT evaluate to a negative Integer or Float ([XMLSCHEMA2] section 3.2.4) string.

The FormatType property specifies the unit type that is used for the distance.<2> This property MUST be set to one of the following:

pt: Specifies a size in units of points.

pc: Specifies a size in units of picas.

in: Specifies a size in units of inches.

mm: Specifies a size in units of millimeters.

cm: Specifies a size in units of centimeters.

Unless otherwise specified, if an element that is of type RdlSize is not present, the value of the element is interpreted as

 "0<FormatType>"

where <FormatType> is defined above.

A negative RdlSize is an RdlSize in the format of <value><unit> where value is a negative value.

The RdlSize type can be referenced by the following elements.

Referenced by

Border.Width

CapImage.OffsetX

CapImage.OffsetY

Image.Height

Image.Left

Image.Top

Image.Width

Line.Height

Line.Left

Line.Top

Line.Width

Page.BottomMargin

Page.ColumnSpacing

Page.InteractiveHeight

Page.InteractiveWidth

Page.LeftMargin

Page.PageHeight

Page.PageWidth

Page.RightMargin

PageSection.Height

PointerImage.OffsetX

PointerImage.OffsetY

Rectangle.Height

Rectangle.Left

Rectangle.Top

Rectangle.Width

Style.LineHeight

Style.PaddingBottom

Style.PaddingLeft

Style.PaddingRight

Style.PaddingTop

Textbox.Height

Textbox.Left

Textbox.Top

Textbox.Width

Paragraph.HangingIndent

Paragraph.RightIndent

Paragraph.SpaceAfter

Paragraph.SpaceBefore

Paragraph.LeftIndent

Style.FontSize

Style.ShadowOffset

GaugeLabel.TextShadowOffset

GaugePanel.Height

GaugePanel.Left

GaugePanel.Top

GaugePanel.Width

The following is the XML Schema definition of the RdlSize type.

 <xsd:simpleType name="SizeType">
   <xsd:restriction base="xsd:normalizedString">
   </xsd:restriction>
 </xsd:simpleType>