This topic describes the systems of measurement (Imperial, Metric or Screen) that can be assigned to a report to present values in a uniform manner (e.g., element locations, dimensions and margins).
Most metrics of report elements (i.e., element locations, dimensions and margins) can be expressed in units that correspond to one of the following systems of measurement.
Imperial system (in hundredths of an inch)
This is the default system that is assigned to each new report, as well as to controls that have been created in code, but have not yet been added to a report (in this case, the XRControl.RootReport property of these controls returns null in C# or Nothing in Visual Basic).
To assign a system of measurements to a report, use its XtraReport.ReportUnit property.
Changing the system of measurement results in converting the corresponding property values and updating the layout of all report elements in the Report Designer. Notably, the system of measurement determines the minimum increment with which an element's location and size can be changed, which is specified by the XtraReport.SnapGridSize property.
When specifying a control's dimensions in code, make sure that these values agree with the measurement units that are currently assigned to a report.
To maintain a high standard of printing, the border width of an element is always measured in pixels, which only applies to the XRControl.BorderWidth and XRZipCode.SegmentWidth property values. When publishing a report, these values are converted to its unit of measurement based on the XRControl.Dpi property value.
The values of the following properties are expressed in the measurement units assigned to the XtraReport.ReportUnit property.
Determines the scale of the snap grid, which provides effortless alignment of elements in a Report Designer.
Specifies both the dimensions and location of an element.
Specify an element's dimensions.
Specify an element's location.
Specify the dimensions of report pages.
Specifies the page margins of a report.
Specify the width of report columns and the spacing between them.
Specify the Shape control's line width.
Specifies the width of the narrowest module (a bar or white space) in a bar code.
Specify the start and end coordinates of a cross-band control.