public void GenerarReporteCompleto()
{
string[] piesPagina = {
"PAGO", "CONSECUTIVO DE PEDIDOS",
"PROVEEDOR", "ACUSE DE RECIBO", "EXPEDIENTE","COMPRADOR"
};
var filePedidoCompleto = Path.GetTempFileName() + ".pdf";
var concatenate = new PdfConcatenate(new FileStream(filePedidoCompleto, FileMode.Create));
for (var numReporte = 0; numReporte < piesPagina.Count(); numReporte++)
{
this.piePagina = piesPagina[numReporte];
var fileReporte = GenerarReporte();
var reporte = new PdfReader(fileReporte);
concatenate.AddPages(reporte);
File.Delete(fileReporte);
}
concatenate.Close();
Process.Start("cmd", "/c " + filePedidoCompleto);
}