RpPrinter:UnitOfMeasure Assign
<< Click to Display Table of Contents >> RpPrinter:UnitOfMeasure Assign |
![]() ![]() ![]() |
Type | 16-bit: ShortInt, 32-bit: LongInt |
Purpose
This assign allows you to set the unit of measurement used by the RpPrinter. Valid settings are:
UNIT_CHARS |
Characters. This sets the unit of measure to character mode. The character size is based on the AvgCharWidth and AvgCharHeight accesses. |
UNIT_CM |
Centimeters. |
UNIT_INCHES |
Inches. |
UNIT_MM |
Millimeters. |
UNIT_PIXELS |
Logical Pixels. |
Example
// Set the unit of measure to centimeters
oRpPrinter:UnitOfMeasure := UNIT_CM