WPF Printing - WYSIWYG User Interface Rendering and Report Generation

Thinking Out Loud
11 July 2009

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

7 comment(s)
Kai Fjellstadsveen
Kai Fjellstadsveen

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

11 July, 2009
Anonymous
Mike Grace

Will this be ported to silverlight as well?

11 July, 2009
Anonymous
Printing » WPF Printing - WYSIWYG User Interface Rendering and Report …

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

12 July, 2009
Anonymous
WPF Printing – WYSIWYG User Interface Rendering and Report … | Adobe Tutorials

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

12 July, 2009
Myles Penlington
Myles Penlington

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

Very useful. Great to see.

15 July, 2009
Anonymous
Sorin

It's working with Silverlight or not ?

27 July, 2009
Anonymous
ctodx

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

20 August, 2009

Please login or register to post comments.