Print preview in Gantt Chart Library and Project Management Library for WPF

We use Gantt Chart controls within Gantt Chart Library for WPF or Project Management Library for WPF. How can we develop a Print Preview feature in our application, instead of simply executing the Print command?

We offer a DocumentPaginator object for each Gantt Chart control included within our libraries (e.g. GanttChartTaskListViewDocumentPaginator). You can use the DocumentPaginator objects that we provide both for actual printing and for enhancing the print feature, such as by including a Page Setup and/or a Print Preview dialog within your application, beside the standard Print command. You can use our control specific DocumentPaginator objects as if there were standard WPF document paginators.

A Printing sample is available for each of our Gantt Chart controls, showing how to use specific DocumentPaginator objects for executing standard print operations.

You can refer to MSDN and other external sources for information on how to implement custom Page Setup and/or Print Preview features in WPF based on a DocumentPaginator object. For example, you can review this forum item.