Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created March 21, 2018 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/d7a8bb23878ab8a7aea0b10ab83ea6bf to your computer and use it in GitHub Desktop.
Save Fhernd/d7a8bb23878ab8a7aea0b10ab83ea6bf to your computer and use it in GitHub Desktop.
Representa un documento de texto. OrtizOL.
using System.Drawing.Printing;
namespace R815ImprimirVariosDocumentos
{
class DocumentoTexto : PrintDocument
{
private string[] texto;
private int numeroPagina;
private int desplazamiento;
public string[] Texto
{
get { return texto; }
set { texto = value; }
}
public int NumeroPagina
{
get { return numeroPagina; }
set { numeroPagina = value; }
}
public int Desplazamiento
{
get { return desplazamiento; }
set { desplazamiento = value; }
}
public DocumentoTexto(string[] texto)
{
this.Texto = texto;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment