PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Calculates the necessary height of a fixed-width area in order for the entire text using the current font to be printed in this area.
Remark: This function must not be used in the report"Opening" event.
Versions 18 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 19 and later
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
New in version 19
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
// Sélectionne une police de caractères
iFont(NumPolice)
// Récupère la hauteur de la colonne
dHauteur is real = iZoneHeight("Mon Texte", 100)
// Trace un cadre
iBorder(0, 0, dHauteur*2, 200)
Syntax
<Result> = iZoneHeight(<Text> , <Area Width> [, <Type> [, <Start> [, <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 format. This string must be in UTF8 format. If necessary, use the StringToUTF8 function to perform the conversion.
<Area Width>: Real
Width of area (in millimeters).
<Type>: Optional constant
Type of text to print:
Versions 18 and later
iHTML
New in version 18
iHTML
iHTML
Text in HTML format.
LinuxUniversal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst This constant is not available.
iRTFText in RTF.
Universal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst This constant is not available.
iText
(default value)
Normal text.

AndroidAndroid Widget Java This parameter will be ignored. The text is always of normal type.
<Start>: Optional integer
Subscript of first <Text> character to print. If this parameter is not specified, the first character of the string is used.
<End>: Optional integer
Subscript of last <Text> character to print. If this parameter is not specified, the last character of the string is used.
Component: wd270prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment