Skip to content

Commit 1ce8808

Browse files
committed
polish the links and content
1 parent 3961a5f commit 1ce8808

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

knowledge-base/export-charts-to-pdf-radspreadprocessing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ ticketid: 1659898
1717

1818
## Description
1919

20-
When converting an Excel file with charts to PDF, the charts may not display as expected in the PDF document. This may occur when exporting charts to PDF in .NET Framework applications. This KB article shows a sample approach how to ensure charts are correctly exported from Excel files to PDF.
20+
When converting an Excel file with charts to PDF, the charts may not display as expected in the PDF document. This may occur when exporting charts to PDF in .NET Framework applications. This KB article shows a sample approach how to utilize the chart engine that [WinForms RadChartView]({%slug winforms/chartview/overview%}) control offers and ensure charts are properly exported from Excel files to PDF.
2121

2222
## Solution
2323

2424
To export charts from Excel files to PDF format using RadSpreadProcessing, follow these steps:
2525

26-
1. **Implement a Custom IPdfChartRenderer**: The export process requires providing an `IPdfChartRenderer` implementation. This renderer is responsible for converting the chart shapes from the Excel file into images that can be inserted into the PDF.
26+
1. **Implement a Custom IPdfChartRenderer**: The export process requires providing an [IPdfChartRenderer]({%slug radspreadprocessing-features-charts-pdf-export%}) implementation. This renderer is responsible for converting the chart shapes from the Excel file into images that can be inserted into the PDF.
2727

28-
2. **Use the WinForms RadChartView control**: The WinForms RadSpreadsheet control (that supports charts) internally uses the WinForms RadChartView for visualization and it provides a convenient API for image creation having the FloatingChartShape from the SpreadProcessing model.
28+
2. **Use the WinForms RadChartView control**: The [WinForms RadSpreadsheet]({%slug ({%slug radspreadsheet-overview%})%}) control (that supports charts) internally uses the WinForms RadChartView for visualization and it provides a convenient API for image creation having the [FloatingChartShape]({%slug radspreadprocessing-features-charts-using-charts%}) from the SpreadProcessing model.
2929

30-
3. **Export the Excel to PDF**: Use the `PdfFormatProvider` to export the workbook to PDF, setting the `ChartRenderer` property to your custom renderer implementation.
30+
3. **Export the Excel to PDF**: Use the [PdfFormatProvider]({%slug radspreadprocessing-formats-and-conversion-pdf-pdfformatprovider%}) to export the workbook to PDF, setting the `ChartRenderer` property to your custom renderer implementation.
3131

3232
Below is a sample implementation using the WinForms RadChartView for chart visualization:
3333

@@ -60,4 +60,4 @@ pdfFormatProvider.ExportSettings.ChartRenderer = new WinFormsPdfChartImageRender
6060
- [Export Chart to PDF]({%slug radspreadprocessing-features-charts-pdf-export%})
6161
- [RadChartView for WinForms Overview]({%slug winforms/chartview/overview%})
6262
- [Export Chart to Image in WinForms]({%slug winforms/chartview-/features/export%})
63-
- [WinForms Spreadsheet]({%slug radspreadsheet-overview%})
63+
- [WinForms RadSpreadsheet]({%slug radspreadsheet-overview%})

libraries/radspreadprocessing/features/charts/pdf-export.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ Now the chart objects in the spreadsheet will be exported along with the other c
8282
## See Also
8383

8484
* [Using PdfFormatProvider]({%slug radspreadprocessing-formats-and-conversion-pdf-pdfformatprovider%})
85+
* [Exporting Spreadsheets with Charts to PDF with RadSpreadProcessing and WinForms RadChartView]({%slug export-charts-to-pdf-radspreadprocessing%})

libraries/radspreadprocessing/formats-and-conversion/pdf/format-and-conversion-settings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ __PdfExportSettings__ allow controlling how a __Workbook__ is exported to PDF. U
3030

3131
* __PdfFileSettings__: A property of type __Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Export.PdfExportSettings__ which is a class related to the [RadPdfProcessing library]({%slug radpdfprocessing-overview%}). Thus, the property allows you to control the image quality, encryption, compliance level and other PDF format related properties. More information on the settings is available in the [export settings article for RadPdfProcessing]({%slug radpdfprocessing-formats-and-conversion-pdf-settings%}).
3232

33+
* **ChartRenderer**: A property of type [IPdfChartRenderer](https://docs.telerik.com/devtools/document-processing/api/telerik.windows.documents.spreadsheet.formatproviders.pdf.export.ipdfchartrenderer) that gets or sets the renderer which will be used to render charts. It is not relevant for the .NET Standard version of the Telerik Document Processing libraries. Read more in the [Export Chart to PDF]({%slug radspreadprocessing-features-charts-pdf-export%}) article.
34+
3335

3436
__Example 1__ shows how to export the Entire Workbook without ignoring the __PrintArea__ property in all worksheets.
3537

0 commit comments

Comments
 (0)