Selects the unit that will be used for the height of fonts (created by
iCreateFont): DIDOT point or PICA point.
The PICA point is used by default.
iDidotFont(True)
// Creates a 48-point Didot font
iCreateFont(1, 48, iBold + iItalic, iRoman)
iDidotFont(False)
// Creates a 32-point Pica font
iCreateFont(2, 32, iBold + iItalic, iRoman)
// Print a text with this font
iPrint(iFont(1) + "Text of 48-point Didot")
// Ends the print job
iEndPrinting()
Syntax
iDidotFont([<Didot Unit>])
<Didot Unit>: Optional boolean
New unit to use:- True (default value): Didot point.
- False: Pica point.
Remarks
- In most cases, iDidotFont will only be called once, at the beginning of the project.
- 1 PICA point = 0.353 mm and 1 DIDOT point = 0.3759 mm (approximate values).
- iDidotFont has no effect:
- on the print jobs performed with the report editor.
- on the PDF prints.
These prints use the PICA point as standard unit.