We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Question

Thread ID:

Created:

Updated:

Platform:

Replies:

104587 Jul 31,2012 09:40 AM Aug 1,2012 12:25 AM Silverlight 1
loading
Tags: ReportViewer
Cansu Korkmaz
Asked On July 31, 2012 09:40 AM

Hi,

I have problem. can you help me please ?

I want to export the graph in .pdf format, and save into computer.

But, i don't want preview in screen. i want to "directly" .pdf export.



ChartToPdf_ac908d77.rar

Ram Nivas T [Syncfusion]
Replied On August 1, 2012 12:25 AM

Hi Cansu,

Thanks for your interested in Syncfusion products.

If you like to export the RDL Reports without preview on the screen then please use our ReportWriter to achieve this requirement, Please find the code snippet below.
<code>
//reportPath is the RDL file location
string reportPath = @"Charts.rdl";
ReportWriter reportWriter = new ReportWriter(reportPath);
//Save the report as Pdf
reportWriter.Save("Charts.pdf", WriterFormat.PDF);
</code>

please let me know if you have any queries.

Regards,
Ram


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;