Skip to content

Code Examples

Paulo Soares edited this page Jun 2, 2018 · 1 revision

Code Examples

See RdlViewer
Use the RdlViewer control is for Windows form applications.

RdlCmd
RdlCmd.exe generates reports from the command line. As a code example it shows how to take an RDL file, compile it and run a report generating either PDF, HTML, XML or MHT result files. This example resides in the CodeExamples\RdlCmd directory after the install.

DataTests
The DataTests examples shows a simple usage of the RdlViewer .Net control in a Windows application. The example focuses on the multiple ways that you can control the data used in a report. This example resides in the CodeExamples\DataTests directory after the install.

Other Code Examples
The RDL project is open source. The entire project's source code can be downloaded and examined. The RdlReader project in particular, provides for a more sophisticated programmatic example of the usage of the RdlViewer including printing, using of shared data sources, zooming/scaling, ...

Clone this wiki locally