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
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.
Versions 18 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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 the Android applications.
New in version 19
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the 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.
// 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.
<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.
LinuxiPhone/iPadWindows MobileUniversal Windows 10 App This constant is not available.
iRTFText in RTF format.
iPhone/iPadUniversal Windows 10 App 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Windows Mobile wp230prn.dll
Java wd230java.jar
Linux wd230prn.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment