# Custom PDF Export

This topic demonstrates how to implement simple exports to custom formats (which is not available in ActiveReports right now). The sample uses third-part library to show export to PDF.

## Content

This sample shows how to implement simple exports to custom formats (which is not available in ActiveReports right now). The sample uses third-party library to show export to PDF.
![TestApplication](https://cdn.mescius.io/document-site-files/images/b298aea2-8cb8-4a0f-be88-4f54aa263ebd/images/custompdfexport.jpg)

### Sample Location

**Visual Basic.NET**
[https://github.com/activereports/Samples20/tree/main/Advanced/PageAndRDLX/CustomPdfExport/VB.NET](https://github.com/activereports/Samples20/tree/main/Advanced/PageAndRDLX/CustomPdfExport/VB.NET)
**C#**
[https://github.com/activereports/Samples20/tree/main/Advanced/PageAndRDLX/CustomPdfExport/C#](https://github.com/activereports/Samples20/tree/main/Advanced/PageAndRDLX/CustomPdfExport/C%23)

### Details

When you run this sample, you see a testing application form, which splits to Windows Forms Viewer and PDF Viewer. You can choose a report and a Pdf export option, click 'Preview as PDF' and view the report in the viewers, and 'Save as PDF' to save the report as Pdf. The sample consists of following projects:

* PdfRendering: It implements **IRenderingExtension** and **IDrawingCanvas** interfaces for customized export to PDF format.
* TestApplication: This is the default start up project to compare and debug custom export.