ReportViewer.PDF 1.0.0

ReportViewer's extension method to RenderPDF() a *.rdlc

Install-Package ReportViewer.PDF -Version 1.0.0
dotnet add package ReportViewer.PDF --version 1.0.0
<PackageReference Include="ReportViewer.PDF" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ReportViewer.PDF --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is an extension method to Render an rdlc file as PDF.

Use it like this:

var dataSources = new[]
{
new ReportDataSource("DataSet1", new List<MyObject> { instanceOfMyObject }),
new ReportDataSource("DataSet1", new List<MyObject2> { instanceOfMyObject2 }),
};
var renderedPDFBytes = new ReportViewer().RenderPDF("FullQualifieldNamespace.Report1.rdlc", dataSources);

This is an extension method to Render an rdlc file as PDF.

Use it like this:

var dataSources = new[]
{
new ReportDataSource("DataSet1", new List<MyObject> { instanceOfMyObject }),
new ReportDataSource("DataSet1", new List<MyObject2> { instanceOfMyObject2 }),
};
var renderedPDFBytes = new ReportViewer().RenderPDF("FullQualifieldNamespace.Report1.rdlc", dataSources);

Version History

Version Downloads Last updated
1.0.0 5,983 2/8/2018