WPF WYSIWYG PRINTING MULTIPLE PAGES

Mark Devid

Total Post:102

Points:714
Posted by  Mark Devid
WPF 
WPF
 1299  View(s)
Ratings:
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

  1. shreesh chandra shukla

    Post:105

    Points:735
    Re: WPF WYSIWYG printing multiple pages

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!