Home > DeveloperSection > Forums > WPF WYSIWYG printing multiple pages
Mark Devid
Mark Devid

Total Post:101

Points:707
Posted on    August-16-2013 6:22 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 937  View(s)
Rate this:
Hi mindrtick!

I have 2 situations where I want to WYSIWYG print a usercontrol. In first situation I have a GridView (by Telerik) that can span multiple pages in both X and Y directions. In the second scenario I have a TreeView (also by Telerik) that can span multiple pages in the Y direction. Does anyone know how to do this?

thanks in advance



shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Points:735
Posted on    August-17-2013 6:50 AM

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


Don't want to miss updates? Please click the below button!

Follow MindStick