Measure Units

This topic describes the measure units supported by dbForge Fusion for SQL Server, and how to change the currently used system of measurement for a particular report.

Supported Measure Units

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 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.

  • Tenth of a Millimeter.

    Used when the ReportUnit property is set to ReportUnit.TenthsOfAMillimeter.

    The table below 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.

Changing Current Measure Unit

By default, the ReportUnit property of a new report is set to Hundredths of an Inch. The current unit of measurement may be easily changed in the Properties window by locating the ReportUnit property and changing it to Tenth of a Millimeter. Also, you can change the value of the ReportUnit property in the report smart tag (to invoke report smart tag click in the top left corner of the report designer).

How to change the current measure unit using the Properties window is shown on the image below:

Note

Actual document look may slightly vary from the above image, depending on the product you use.