PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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)
// Prints a text with this font
iPrint(iFont(1) + "Text of 48-point Didot")
// Ends the print
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 be called once only, 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 prints performed with the report editor.
    • on the PDF prints.
      These prints use the PICA point as standard unit.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Windows Mobile wp230prn.dll
Linux wd230prn.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment