This is a migrated thread and some comments may be shown as answers.

RadPDFViewer document from XAML

2 Answers 116 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 07 Nov 2017, 01:06 PM

Hello,

Is it possible to set the document of RadPDFViewer from an XAML StackPanel?

I want to generate a PDF document from an XAML section and pass it to the PDF viewer.

Regards,

Sam.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tanya
Telerik team
answered on 10 Nov 2017, 11:53 AM
Hello Sam,

You can export UI elements using RadPdfProcessing by drawing them on the PDF page. There is an example showing how you can achieve that in our SDK repository. The sample project doesn't contain implementations for all possible UIElements, but main primitives are covered and the example is easily extensible.  

Hope this is helpful.

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Sam
Top achievements
Rank 1
answered on 13 Nov 2017, 09:58 AM

Hello,

Unfortunately I moved to another choice. I think it would have been helpful.

Regards.

Tags
PDFViewer
Asked by
Sam
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Sam
Top achievements
Rank 1
Share this question
or