QSReport.BatchRDLRenderer.Prepare C# (CSharp) Method

Prepare() protected method

protected Prepare ( IPrintableDocument document ) : void
document IPrintableDocument
return void
        protected void Prepare(IPrintableDocument document)
        {
            if (document.PrintType == PrinterType.RDL)
            {
                Report report = GetReportFromFile(document.GetReportInfo());
                report.RunGetData(document.GetReportInfo().Parameters);
                reportPages.Add(report.BuildPages());
            }
        }