DocumentViewer FixedDocument?

BigH61 581 Reputation points
2023-03-04T18:37:42.1+00:00

I am looking to start a small project utilising WPF, C# and following MVVM principles. The aim of the project is to learn how to utilise DocumentViewer (which is very new to me) in order to preview before sending to print.

For simplicity lets say I have a list of Names, addresses each with an associated Image. I wish to print each of these as a Business Card. Each page will have a Header (Title) and Footer (page number).

I would also like to be able to Change the scale of the Business Card so that I can change the number of Columns and rows that fit on a page.

How would I go about this? Some guidance and example code would be much appreciated.

Thank you in advance for any assistance.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes