Method XbpPrinter():getHDC() Foundation

Retrieves the handle of a printer's device context

:getHDC() --> hDC

The method returns a numeric value which represents the device context handle of a printer.


The device context handle cannot be used on the Xbase++ language level. It is necessary for calling system API functions which require the device context handle as a parameter.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.