ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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.
Component: wd290prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help