|
|
|
|
|
Advertencia
A partir de la versión 28, iZoneHeight se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por 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.
iFont(NumPolice)
dHauteur is real = iHauteurZone("Mon Texte", 100)
iBorder(0, 0, dHauteur*2, 200)
Sintaxis
<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:
| | iHTML | Text in HTML format. | iMarkdown | Markdown text. | iRTF | Text in RTF. | iText (default value) | Normal text. |
<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. Clasificación Lógica de negocio / UI: Código neutro
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|