returnDC
Type: Integer
The returnDC property of the CMDPrint class contains a device context that is returned for the printer from the common Print dialog.
The setting of the returnDC property can be one of the values listed in the following table.
| Setting | Description |
|---|---|
| 1 | Returns a device context for the printer selected in the dialog. The device context is returned in the printerDC or the printerDC64 property. |
| 2 | Returns an information context for the printer selected in the dialog. An information context provides a fast way to get information about the device without creating a device context. The information context is returned in the printerDC or the printerDC64 property. |
| Neither 1 nor 2 | Return value undefined. |
It is the responsibility of the caller to use and delete the returned device context.
