CGXPrintDevice::GetPrintDC
virtual HDC GetPrintDC();
Return Value
A device handle. You must not delete the device handle.
Remarks
Returns a device handle for the current printer settings. You may assign this device handle as an attribute dc in your view’s OnPrepareDC method if you want to implement WYSIWYG functionality.
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the CGXPrintDevice::ImplementPrintDevice method from within the control factory class' InitializeApplicationComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method returns 0. A warning will be displayed in the debug window.
END Control-Factory Specific