Crystal Reports Plugin

Picture of Crystal Reports Plugin
Export Crystal Reports to PDF
- current rating is 0.00. Total reviews 0
Crystal Reports Plugin
Supported Versions: 2.65 , 2.70 , 2.80
Created: 18 November 2013
Last updated: 4 March 2016
Description

Simple back-end interface to export a Report by Crystal Reports to PDF including given Parameters.

Requires .Net Libraries:
- CrystalDecisions.CrystalReports.Engine
- CrystalDecisions.Shared -
CrystalDecisions.Web
compiled version: 13.0.2000.0
Visual Studio Version 2012

Example implementation:

string ReportExportPath = "c:\mypath\"; string link = "c:\myreports\reportxy.rpt"; IList liste = new List();
ReportParam oParamOrderId = new ReportParam()
{
Value = orderproductvariant.OrderId,
Name = "@id"
};
liste.Add(oParamOrderId);
string exportPath = ReportExportPath + orderProductVariantId + ".pdf";
IPdfResults resultpdfGenerator = _pdfGeneratorController.GeneratePdf( link, liste, exportPath);
if (!resultpdfGenerator.PdfGenerated) { foreach (var error in resultpdfGenerator.Errors) oResult.AddError(error); }

Reviews