PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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.
// 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.
iRTFText in RTF format.
iText
(default value)
Normal text.

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