CPrint.GetDCmethod
Returns the handle of the device context of the attached printer.
Syntax
FUNCTION GetDC () AS HDC
Return value
HDC. The handle of the device context of the attached printer. If there is not a printer attached, it returns NULL.
Description
Returns the handle of the attached printer.
Reference
- Include file
CPrint.inc - Defined in AfxNova/CPrint.inc:264
- Documented in Printing/CPrint Class.md
- Topic: CPrint Class