public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     ReporteMoralesreImpresion rpt = new ReporteMoralesreImpresion();
     rpt.Site = this.Site;
     return rpt;
 }
Beispiel #2
0
 /// <summary>
 /// Genera reporte a partir del xml 
 /// </summary>
 /// <param name="dspersonasMorales"></param>
 /// <returns></returns>
 public static ReportDocument gfCreaReportesinrentencionesXMLPDF(CFDIV3_2 dspersonasMorales)
 {
     ReporteMoralesreImpresion reporte = new ReporteMoralesreImpresion();
     reporte.Section3.ReportObjects["Picture2"].Width = 2200;
     reporte.Section3.ReportObjects["Picture2"].Height = 2100;
     reporte.SetDataSource(dspersonasMorales);
     return reporte;
 }