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.
Unfortunately, activation email could not send to your email. Please try again.

XAML to pdf

Thread ID:

Created:

Updated:

Platform:

Replies:

101501 Oct 28,2011 12:42 PM Oct 31,2011 02:15 AM Silverlight 1
loading
Tags: PDF
Administrator [Syncfusion]
Asked On October 28, 2011 12:42 PM

I have a xaml user control that I want to convert to PDF. Should I create the PDF from scratch or is there a better way to do it? This is going to be read only. I guess I could make it a bitmap and then save the image to the PDF, but is there a better way?


George Livingston [Syncfusion]
Replied On October 31, 2011 02:15 AM

Hi Dan,

Thank you for your interest in Syncfusion products.

Yes, it is possible to convert a XAML file to HTML and then convert it to PDF. Please refer to the following link for XAML to HTML conversion:

http://msdn.microsoft.com/en-us/library/aa972129(v=vs.90).aspx

The HTML file can be converted to PDF using our HtmlConverter. Please check our online sample in the following link:

http://asp.syncfusion.com/sfaspnetsamplebrowser/9.3.0.61/Web/Pdf.Web/Samples/4.0/Import%20and%20Export/HtmlToPdf/CS/Default.aspx

Also, you can refer to our online documentation in the link below:

http://help.syncfusion.com/ug_93/Reporting/PDF/ASP.NET/default.htm?turl=Documents%2F441htmltopdf.htm

Please try this and let me know if you have any questions.

Regards,
George



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.

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.

;