dbForge Query Builder for SQL Server supports different measure units that can be used in data reports. In addition, you can change the default system of measurement for a particular report.
All sizes and locations of report controls, bands, and the report itself are measured in the same units of measurement within a report. This unit of measurement is specified by a report’s ReportUnit property, and can be set to one of the following types:
Hundredths of an Inch
Used when the ReportUnit property is set to ReportUnit.HundredthsOfAnInch.
Tenths of a Millimeter
Used when the ReportUnit property is set to ReportUnit.TenthsOfAMillimeter.
The table lists all properties that are measured in units, specified by the report’s ReportUnit property.
Property | Description |
---|---|
Control.Height | Represents the control height. |
Control.Width | Represents the control width. |
Control.X | Represents the X coordinate of the control. |
Control.Y | Represents the Y coordinate of the control. |
Band.Height | Represents the band height. |
Line.LineWidth | Represents the line width. |
Shape.LineWidth | Represents the width of the line used to create a shape image. |
BarCode.Module | Represents the width of the narrowest bar or space in the current BarCode instance. |
CrossBandControl.StartPoint | Represents the X and Y coordinates of the starting point where the cross-band control starts drawing. |
CrossBandControl.EndPoint | Represents the X and Y coordinates of the end point where the cross-band control ends drawing. |
Report.PageHeight | Represents the height of the report pages. |
Report.PageWidth | Represents the width of the report pages. |
Report.Margins | Represents the margins of the report pages. |
Report.Padding | Represents the padding of the report pages. |
MultiColumn.ColumnWidth | Represents the widths of the columns when printing multi-column reports. |
MultiColumn.ColumnSpacing | Represents the space between the columns when multi-column reports are printed. |
The default ReportUnit property of a new report is Hundredths of an Inch.
To change the unit of measurement
1. On the View menu, click Properties.
2. In the Properties window that opens, locate the ReportUnit property and change it to Tenth of a Millimeter, for example.
Also, you can change the value of the ReportUnit property in the report’s smart tag.
1. To open the smart tag, click Menu in the upper-left corner of the Report Designer.
2. In the Report Tasks window that opens, select the unit of measurement from the Measure Units drop-down list and click OK.