Hi,
I have a view which looks something like this:
At runtime I load a background image an after that I place controls (TextBlock) on the Canvas which are bound to data.
So after all I have some kind of a report "printed" on the screen.
I can also print this report (it's designed to fit on A4 paper format).
Now my question - is there an easy way to save this report as PDF?
I've seen your samples where FirstLook looked promising - but I had to learn that it displays an image "resultDocument...png" and not the data.
And the "rendering code" is working with a "FixedContentEditor" and special rendering.
My idea was that I can "print" to your PDF component like to a printer - or in other words - use the existing (for screen rendering) code and simply render the result to PDF.
Is this possible?
Thank you
Manfred
I have a view which looks something like this:
<
Viewbox
>
<
Canvas
Width
=
"800"
Height
=
"1050"
x:Name
=
"caContent"
>
<
Image
x:Name
=
"imgBackground"
Source
=
"Images/Proto1.png"
Stretch
=
"UniformToFill"
Width
=
"800"
Height
=
"1050"
/>
</
Canvas
>
</
Viewbox
>
At runtime I load a background image an after that I place controls (TextBlock) on the Canvas which are bound to data.
So after all I have some kind of a report "printed" on the screen.
I can also print this report (it's designed to fit on A4 paper format).
Now my question - is there an easy way to save this report as PDF?
I've seen your samples where FirstLook looked promising - but I had to learn that it displays an image "resultDocument...png" and not the data.
And the "rendering code" is working with a "FixedContentEditor" and special rendering.
My idea was that I can "print" to your PDF component like to a printer - or in other words - use the existing (for screen rendering) code and simply render the result to PDF.
Is this possible?
Thank you
Manfred