Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
695
how to print preview simple items?
posted

Hi, it's my first time to use Report class.

What i want to achieve is to print preview and/or print a WPF window which basically has rich text box embedded. From the tutorial, I think i have to create a Report, create content for the report then initialize a PrintPreview class with that report.

The problem is the tutorial used xamDataGrid as example. I don't want to use data grid, all i want to display is the content of a rich text box, or even simpler, plain text. How can I do this? Thanks.