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: Calculating the physical margins of the printer
iPageWidth (Example)
Example: Calculating the physical margins of the printer
This example is used to calculate the physical margins of the printer.
// Reset the margins to 0
iMargin(0, 0, 0, 0)
// Vertical margin
MarginH = (PaperHeight - iPageHeight())/2
// Margin in width
MarginW = (PaperWidth - iPageWidth())/2
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