CGXGridParam::SetPrintDevice
void SetPrintDevice(CGXPrintDevice* pPD, BOOL bMustDelete = TRUE);
pPD
A pointer to the printer device object.
bMustDelete
Specifies if the object should be destroyed when the parameter object is destroyed.
Remarks
Attaches a printer device object to the parameter object.
If the parameter object already owns a pointer to a printer device object, the old one is replaced and if necessary deleted.
The print device object maintains the printer settings. These settings can be changed through the CPrintDevice dialog. See the class description for CGXPrintDevice for changing it programmatically.
See Also
CGXPrintDevice CGXGridParam::GetPrintDevice