Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/10/2012, 08:14
Avatar de jorge25
jorge25
 
Fecha de Ingreso: noviembre-2005
Ubicación: Venezuela, San Juan de Los Morros.
Mensajes: 165
Antigüedad: 18 años, 6 meses
Puntos: 1
Respuesta: PrintPage Crear Graphics.DrawString desde una función

Ya encontré la Solución:

Código vb:
Ver original
  1. Private Sub PrintDocument_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs)
  2.    Create_String(TheString, e.Graphics)
  3. End Sub
  4.  
  5. Private Sub Create_String(ByVal Str As String, ByVal gr As Graphics)
  6. gr.DrawString(str, Font, Brushes.Black, x, y)
  7. End Sub
__________________
Debian GNU/Linux 4.0 "Etch"

La felicidad no es un camino, es un estado de ánimo. Jorge Morgado