ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 28, iZoneHeight is kept for backward compatibility. This function has been replaced with iAreaHeight.
Calculates the height of a fixed-width area required to print the entire text that uses the current font.
Note: This function must not be used in the "Opening" event of the.
// Sélectionne une police de caractères 
iFont(NumPolice)
// Récupère la hauteur de la colonne
dHauteur is real = iHauteurZone("Mon Texte", 100)
// Trace un cadre
iBorder(0, 0, dHauteur*2, 200)
Syntax
<Result> = iAreaHeight(<Text> , <Area width> [, <Type> [, <Beginning> [, <End>]]])
<Result>: Real
Height of the area (in millimeters) allowing to entire text to be printed.
<Text>: Character string
Text to print. This text can be in RTF or HTML. This string must be encoded using UTF-8. If necessary, use StringToUTF8 to perform the conversion.
<Area width>: Real
Width of area (in millimeters).
<Type>: Optional constant
Type of text to print:
iHTMLText in HTML format.
LinuxAndroidAndroid Widget iPhone/iPadIOS WidgetMac Catalyst This constant is not available.
iMarkdownMarkdown text.
iPhone/iPadIOS WidgetMac Catalyst This constant is not available.
AndroidAndroid Widget This constant is available only for reports. For print jobs set programmatically, this constant is not available.
iRTFText in RTF.
AndroidAndroid Widget iPhone/iPadIOS WidgetMac Catalyst This constant is not available.
iText
(default value)
Normal text.

Java This parameter will be ignored. The text is always of normal type.
<Beginning>: Optional integer
Index of the first <Text> character to print. If this parameter is not specified, the first character of the string is used.
<End>: Optional integer
Index of the last <Text> character to print. If this parameter is not specified, the last character of the string is used.
Business / UI classification: Neutral code
Component: wd300prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help