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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Question

Thread ID:

Created:

Updated:

Platform:

Replies:

104587 Jul 31,2012 01:40 PM UTC Aug 1,2012 04:25 AM UTC Silverlight 1
loading
Tags: ReportViewer
Cansu Korkmaz
Asked On July 31, 2012 01:40 PM UTC

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 04:25 AM UTC

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.

Warning Icon 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.Close Icon

;