Contents Up Previous Next

wxPrinterDC is-a wxDC

A wxPrinterDC is used for drawing onto a Windows printer.

wxPrinterDC device
wxPrinterDC driver
wxPrinterDC filename
wxPrinterDC interactive
wxPrinterDC window
wxPrinter create


wxPrinterDC device

string device

The device name for this device context. Defaults to the empty string.


wxPrinterDC driver

string driver

The driver name for this device context. Defaults to the empty string.


wxPrinterDC filename

string filename

The filename associated with the device context, if printing to a file.


wxPrinterDC interactive

bool interactive

TRUE if the creation of the device context should pop up a printer dialog.


wxPrinterDC window

wxWindow window

Initialize this to the parent window for any dialogs the device context will pop up. Defaults to nil.


wxPrinter create

void ( create)

Creates a printer device context. The following slots may be initialized.