AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Área de texto enriquecido
  • Example 1: Printing a bordered text
  • Example 2: Finding out the physical margins while printing a border
Example 1: Printing a bordered text
WINDEVWEBDEV - Código ServidorWindowsLinuxJavaCódigo de Usuario (UMC)Ajax The following example is used to print a bordered text.
// Prints the name on line 1, at 50 mm from the side of the page
iPrint(iXPos(50) + CU.CUSTNAME)
// Encloses the text in a line equal to 2 Pica point
// The background color of the border contains 50% gray
iBorder(0, 0, 10, iPageWidth(), 2, 50)
// Ends the print job
iEndPrinting()
Example 2: Finding out the physical margins while printing a border
WINDEVWEBDEV - Código ServidorWindowsJavaCódigo de Usuario (UMC)Ajax The following example is used to find out the physical margins of the printer.
// Find out the physical margins while drawing a border
iMargin(0, 0, 0, 0)
iBorder(0, 0, iPageWidth(), iPageHeight())
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: 27/05/2022

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