---
title: "WPF WYSIWYG printing multiple pages"  
description: "WPF WYSIWYG printing multiple pages"  
author: "Mark Devid"  
published: 2013-08-16  
updated: 2013-08-17  
canonical: https://www.mindstick.com/forum/1386/wpf-wysiwyg-printing-multiple-pages  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# WPF WYSIWYG printing multiple pages

Hi mindrtick!

I have 2 situations where I want to WYSIWYG [print](https://www.mindstick.com/blog/301752/types-of-3d-printing-technology) a usercontrol. In first situation I have a [GridView](https://www.mindstick.com/articles/873/update-delete-edit-gridview-in-asp-dot-net) (by Telerik) that can span [multiple](https://www.mindstick.com/blog/12797/iowa-is-expected-to-see-heavy-growth-in-multiple-sectors) pages in both X and Y directions. In the [second](https://answers.mindstick.com/qa/41761/how-did-the-second-industrial-revolution-influence-women-s-roles-in-society) [scenario](https://yourviews.mindstick.com/view/81221/sports-will-change-the-education-scenario) I have a [TreeView](https://www.mindstick.com/forum/1180/how-to-create-a-treeview-from-xml-file-in-c-sharp) (also by Telerik) that can span multiple pages in the Y direction. Does [anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) know how to do this?

thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)

## Replies

### Reply by shreesh chandra shukla

Hi!

You may have to tweak it a bit, I know I did, but it's a very good head start.

You use it like this:

```
public static void PrintElement(FrameworkElement printMe){    var suPrintVm =
PrintControlFactory.Create(printMe);   
suPrintVm.ShowPrintPreview();}
```

And then a preview shows up where you can specify printing details.

thanks


---

Original Source: https://www.mindstick.com/forum/1386/wpf-wysiwyg-printing-multiple-pages

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
