Advertisement
Fhernd

DocumentoTexto.cs

Mar 21st, 2018
1,899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.75 KB | None | 0 0
  1. using System.Drawing.Printing;
  2.  
  3. namespace R815ImprimirVariosDocumentos
  4. {
  5.     class DocumentoTexto : PrintDocument
  6.     {
  7.         private string[] texto;
  8.         private int numeroPagina;
  9.         private int desplazamiento;
  10.  
  11.         public string[] Texto
  12.         {
  13.             get { return texto; }
  14.             set { texto = value;  }
  15.         }
  16.  
  17.         public int NumeroPagina
  18.         {
  19.             get { return numeroPagina; }
  20.  
  21.             set { numeroPagina = value; }
  22.         }
  23.  
  24.         public int Desplazamiento
  25.         {
  26.             get { return desplazamiento; }
  27.             set { desplazamiento = value; }
  28.         }
  29.  
  30.         public DocumentoTexto(string[] texto)
  31.         {
  32.             this.Texto = texto;
  33.         }
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement