Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

In my WPF application [targeted windows platform], I have a FlowDocument Report which contains text and image [BlockUIContainer with Image control] in it.

Now I am making cross-platform [ASP.NET for iPad] version to display the same report.

My thoughts
------------------
Convert the FlowDocument to PDF and embed to aspx page.

Is there any way to convert FlowDocument to PDF?

*Hints
I tried to save as XPS but,
Calling FlowDocument making function from server side code [ASP.NET/C#], throws a STA thread error due to 'Windows.Controls.Image' usage in report.
Posted

1 solution

I guess you have to convert the report to PDF and display it in your ASP.NET.

I did a search on Google[^] looking for "ASP.NET PDF Creator" and got a huge list. Pick the one which suits your need
 
Share this answer
 
Comments
derinpdavis 12-Oct-11 0:12am    
There are many "ASP.NET PDF Creators" but I am looking for a solution where I can reuse the existing FlowDocument report.
Otherwise it will be a re-creation[big task] and maintain two reports.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900