THPDFNumberFormatEntry Record
One NumberFormat dictionary entry of a measure (ISO 32000-1, Table 263, ISO 32000-2, Table 268)
THPDFNumberFormatEntry = record
UnitLabel: AnsiString; // /U (required)
ConversionFactor: Double; // /C (required)
FractionStyle: THPDFMeasureNumberFormatFraction; // /F (/D, /F, /R, /T)
Denominator: Integer; // /D (precision or fraction denominator)
ForceDenominator: boolean; // /FD
ThousandsSeparator: AnsiString; // /RT
DecimalSeparator: AnsiString; // /RD
PrefixText: AnsiString; // /PS
SuffixText: AnsiString; // /SS
UnitOrder: AnsiString; // /O ('S' suffix or 'P' prefix)
end;
UnitLabel names the unit and ConversionFactor scales user units into it, whilst FractionStyle picks the fraction style with Denominator and ForceDenominator governing its precision
The separator, prefix, suffix and UnitOrder fields shape the displayed label — thousands and decimal separators, or text placed around the value, for instance
THPDFRectilinearMeasureInfo keeps these entries in its per-axis, distance, area, angle and slope arrays
THPDFMeasureNumberFormatFraction · THPDFRectilinearMeasureInfo · Page Viewports and Measurement