AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Área de texto enriquecido
  • Example: Calculates the height needed to print a text in RTF format
iPrintAreaRTF (Example)
Example: Calculates the height needed to print a text in RTF format
The following example is used to calculate the height of the area required to print a text in RTF. A border is drawn (according to the height that was previously defined) and the text is printed.
// Retrieve the height of the column
dHeight is real = iZoneHeight(sRTFText, 100, iRTF)
// Draws a border
iBorder(0, 0, dHeight*2, 200)
// Text centered in the border
iPrintZoneRTF(sRTFText, 0, 0, dHeight*2, 200)
iEndPrinting()
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local