Skip to content

Commit bc48d89

Browse files
committed
addressed Yoan's feedback
1 parent 64dfc58 commit bc48d89

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

knowledge-base/add-charts-to-pdf-radpdfprocessing.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,26 @@ This article shows how to programmatically generate a Chart and embed it into a
2121

2222
## Solution
2323

24+
RadPdfProcessing doesn't provide functionality for generating chart elements inside the PDF document. However, the chart can be generated by the appropriate UI control and export it as an image which can be later inserted in the document.
25+
2426
To embed a chart into a PDF document using RadPdfProcessing, follow these steps:
2527

26-
1. **Export the Chart as an Image**: First, generate the chart you want to include in your PDF and convert it an image format. For Telerik UI for Blazor Chart, you can utilize the [Export Chart as Image](https://www.telerik.com/blazor-ui/documentation/knowledge-base/chart-export-to-image) feature. Refer to [forum post](https://www.telerik.com/forums/export-chart-as-image-47277c4c2e77) for detailed instructions.
28+
1\. **Export the Chart as an Image**: First, generate the chart you want to include in your PDF with the appropriate UI control offered by the Telerik family and convert it an image format.
29+
30+
- For **.NET Standard** scenario, it is suitable to use the Telerik UI for Blazor Chart, and utilize the [Export Chart as Image](https://www.telerik.com/blazor-ui/documentation/knowledge-base/chart-export-to-image) feature. Refer to [forum post](https://www.telerik.com/forums/export-chart-as-image-47277c4c2e77) for detailed instructions.
31+
32+
- For **.NET Framework** scenario, it is suitable to use the Telerik UI for WinForms ChartView, and utilize its [Export to image]({%slug winforms/chartview-/features/export%}) functionality.
2733

28-
2. **Insert the Image into the PDF**: After obtaining the image of your chart, use RadPdfProcessing to insert this image into your PDF document. RadPdfProcessing offers two approaches for working with images in PDFs:
29-
- Using `FixedContentEditor` as detailed in [How to Generate a PDF Document from Images with FixedContentEditor]({%slug pdf-from-images-with-fixedcontenteditor%}).
30-
- Utilizing `RadFixedDocumentEditor` as outlined in [How to Generate a PDF Document from Images with RadFixedDocumentEditor]({%slug pdf-from-images-with-radfixeddocumenteditor%}).
34+
2\. **Insert the Image into the PDF**: After obtaining the image of your chart, use RadPdfProcessing to insert this image into your PDF document. RadPdfProcessing offers two approaches for working with images in PDFs:
35+
36+
- Using `FixedContentEditor` as detailed in [How to Generate a PDF Document from Images with FixedContentEditor]({%slug pdf-from-images-with-fixedcontenteditor%}).
37+
38+
- Utilizing `RadFixedDocumentEditor` as outlined in [How to Generate a PDF Document from Images with RadFixedDocumentEditor]({%slug pdf-from-images-with-radfixeddocumenteditor%}).
3139

32-
Choose the approach that best suits your needs. Both methods will allow you to position and scale the image (chart) as needed within your PDF document.
40+
Choose the approach that best suits your needs. Both methods will allow you to insert and scale the image (chart) as needed within your PDF document.
3341

3442
## See Also
3543

3644
- [Exporting Telerik UI for Blazor Chart as Image](https://www.telerik.com/blazor-ui/documentation/knowledge-base/chart-export-to-image)
3745
- [Telerik UI for Blazor Chart Documentation](https://docs.telerik.com/blazor-ui/components/chart/overview)
46+
- [How to Draw a Chart with FixedContentEditor in PdfProcessing]({%slug draw-chart-with-fixedcontenteditor%})

0 commit comments

Comments
 (0)