New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Export Charts to PDF

If you have a spreadsheet with an Excel chart on it, you can now convert it to a PDF with RadSpreadProcessing, together with the rest of the document.

To convert the Excel chart to an image in the PDF, you need to implement the IPdfChartRenderer interface.

If you have access to the Telerik UI for WPF suite, you can do this with just a few lines of code.
You can find an example in the following documentation article: Export Spreadsheet with Chart to PDF.

A runnable console application that demonstrates the approach is available in the Telerik Document Processing SDK:

Cannot Render Html file!
  • DefaultCS.aspx
  • styles.css
<%@ Page Language="c#" AutoEventWireup="true"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div id="SpreadProcessing" class="demo-container">
        <p>If you have a <strong>spreadsheet </strong>with an Excel&nbsp;<strong>chart </strong>on it, you can now <strong>convert </strong>it <strong>to</strong> a <strong>PDF </strong>with RadSpreadProcessing, together with the rest of the document.</p>
        <p>To convert the Excel chart to an image in the PDF, you need to implement the&nbsp;<strong>IPdfChartRenderer </strong>interface.</p>
        <p>If you have access to the <a href="">Telerik UI for WPF</a> suite, you can do this with just a few lines of code.<br />
        You can find an example in the following documentation article: <a href="">Export Spreadsheet with Chart to PDF</a>.</p>
        <p>A runnable console application that demonstrates the approach is available in the Telerik Document Processing SDK: <a href=""></a>.</p>

Support & Learning Resources

Find Assistance