Share via


CPrintDialogEx::GetPrinterDC

Returns a handle to the printer device context.

HDC GetPrinterDC( ) const;

Return Value

A handle to the printer device context.

Remarks

You must call the Windows DeleteDC function to delete the device context when you are done using it.

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialogEx Class

Hierarchy Chart

CPrintDialogEx::CreatePrinterDC