Blogs

Thinking Out Loud

WPF Printing - WYSIWYG User Interface Rendering and Report Generation

     

A couple of days ago I described some of the new features you will see in our WPF Data Grid. Among these was the new DXPrinting System - a new WPF Printing Library.

DXPrinting System is a universal printing and export library for WPF. We call it universal because you are not limited to specific controls that are supported by the library nor do you have to write a lot of code to print/render or export your data or control.

With DXPrinting, you can print anything...simply define the XAML and off you go. This is obviously nothing new for WPF developers since the standard FixedDocument and FlowDocument classes can do the same in combination with the DocumentViewer...Unfortunately, this similarity only applies to tabular reports (multiple data records in a specific format) and that's where DXPrinting provides you with real options going forward.

If you're using the FixedDocument class, you'll have to manually split your document across multiple pages. If you're using FlowDocument, you won't be able to control page breaks and thus a feature like displaying headers on each page cannot be properly implemented. Both these classes don't allow you to export your documents to data files in XLS, PDF, HTML and other popular formats.

All these limitations in Microsoft's implementation are overcome by the DXPrinting. Among the main features we've implemented is the ability to automatically split documents across multiple pages (based on specific rules). As such, if you need column headers on every page or you want a page break before a group value - the Printing engine will deliver it for you.

WPF Printing Group Report

WPF Printing Standard Data

Published Jul 11 2009, 01:17 AM by Ray Navasarkian (DevExpress)
Filed under: , ,
Technorati tags: WPF, v2009.2, DXPrinting
Bookmark and Share

Comments

 

Kai Fjellstadsveen said:

Look great Ray. Good to see that you're on the WPF wagon too.

July 11, 2009 6:14 AM
 

Mike Grace said:

Will this be ported to silverlight as well?

July 11, 2009 5:06 PM
 

Printing » WPF Printing - WYSIWYG User Interface Rendering and Report … said:

Pingback from  Printing » WPF Printing - WYSIWYG User Interface Rendering and Report …

July 12, 2009 2:35 AM
 

WPF Printing – WYSIWYG User Interface Rendering and Report … | Adobe Tutorials said:

Pingback from  WPF Printing – WYSIWYG User Interface Rendering and Report … | Adobe Tutorials

July 12, 2009 2:49 AM
 

Myles Penlington said:

Now if that worked for Silverlight, I would really be impressed.

Very useful. Great to see.

July 15, 2009 5:32 PM
 

Sorin said:

It's working with Silverlight or not ?

July 27, 2009 1:14 AM
 

ctodx said:

We're just about to release v2009.2 and it would be a good idea to have an "accumulator"

August 20, 2009 8:29 PM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.