ActiveReports 6 Online Help
Change Ruler Measurements

In ActiveReports, ruler measurements can be changed from inches to centimeters and centimeters to inches at both design time and run time.

To change ruler measurements at design time

  1. In an existing ActiveReports project, from the toolbar menu, select Report, then Settings.
  2. Or you can right-click the Settings node in the Report Explorer and select Show.
     
  3. In the Report Settings dialog, click Global Settings.
  4. Change Ruler Units from inches to centimeters or centimeters to inches.

To call a measurement conversion at run time

Call the CmToInch method or InchToCm method whenever needed. For example, if you were working in centimeters and needed to convert a label's position measurements from centimeters to inches at run time, you would use the following code.

To write the code in Visual Basic.NET

To write the code in C#

See Also

Concepts

Related Sections