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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 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.
// Selects a font
iFont(FontNum)
// Retrieves the height of the column
dHeight is real = iZoneHeight("My Text", 100)
// Draws a border
iBorder(0, 0, dHeight*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 (with quotes)
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 App This constant is not available.
iRTFText in RTF format.
Universal Windows 10 App This constant is not available.
iText
(default value)
Normal text.

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: wd260prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment