PrintDocument Class

The PrintDocument class makes it easy to create documents for printing or exporting to PDF. Most browsers allow you to select the paper size, orientation, margins, and whether to include page headers and footers.

Here is a table with some radial gauges. The table will be included in the PrintDocument.

Here is a FlexGrid control. Printing it directly would show the scrollbars and the part of the content that is visible. The PrintDocument class allows us to replace that with a printer-friendly version of the grid.

The FlexGrid allows you to group, sort, and filter the data. When used with the PrintDocument class, it can be used to create simple ad-hoc reporting solutions.