Class SizeUnitsM
Defines the constants used to convert between RDL Size and millimeters.
Inheritance
System.Object
SizeUnitsM
Namespace: FastReport.Import.RDL
Assembly: FastReport.Base.dll
Syntax
public static class SizeUnitsM
Remarks
To convert millimeters to inches, use the code:
inches = millimeters / SizeUnitsM.Inch;
To convert inches to millimeters, use the code:
millimeters = inches * SizeUnitsM.Inch;
Fields
Centimeter
The number of millimeters in one centimeter.
Declaration
public const float Centimeter = 10F
Field Value
Type | Description |
---|---|
System.Single |
Inch
The number of millimeters in one inch.
Declaration
public const float Inch = 25.4F
Field Value
Type | Description |
---|---|
System.Single |
Pica
The number of millimeters in one pica.
Declaration
public const float Pica = 4.2336F
Field Value
Type | Description |
---|---|
System.Single |
Point
The number of millimeters in one point.
Declaration
public const float Point = 0.3528F
Field Value
Type | Description |
---|---|
System.Single |