CGXView::SetPrintDevice

void SetPrintDevice(CGXPrintDevice* pPD, BOOL bMustDelete = TRUE);

pPD

A pointer to the print-device-object.

bMustDelete

Specifies if the object should be destroyed when the view is destroyed.

Remarks

Attaches a print-device-object to the view.

If the view already owns a pointer to a print-device-object, the old one is replaced and if necessary deleted.

See Also

 CGXPrintDevice

CGXView

 Class Overview |  Class Members