]>
Commit | Line | Data |
---|---|---|
1 | \section{HTML Printing}\label{printing} | |
2 | ||
3 | The wxHTML library provides printing facilities with several levels of complexity. | |
4 | ||
5 | The easiest way to print an HTML document is to use | |
6 | \helpref{wxHtmlEasyPrinting class}{wxhtmleasyprinting}. It lets you print HTML documents with only one | |
7 | command and you don't have to worry about deriving from the wxPrintout class at all. It is only a simple wrapper around the | |
8 | \helpref{wxHtmlPrintout}{wxhtmlprintout}, normal wxWindows printout class. | |
9 | ||
10 | And finally there is the low level class \helpref{wxHtmlDCRenderer}{wxhtmldcrenderer} which you can use to | |
11 | render HTML into a rectangular area on any DC. It supports rendering into multiple rectangles with the same | |
12 | width. (The most common use of this is placing one rectangle on each page or printing into two columns.) | |
13 |