DeleteDC method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short DeleteDC(long hDC);

Overview

Refer to Redirecting to Send an Email

Remarks

Deletes the specified device context (DC).

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

For every DC created by calling CreateSaveDC, CreateRedirectionDC, or CreateEmailDC methods, there must be a call to DeleteDC method to free it.

See Also

Elements:

LockOEMPrinter method, UnlockOEMPrinter method, UnlockSupport method, InstallOEMPrinter method, UninstallOEMPrinter method, Password property, CreateSaveDC method, CreateRedirectionDC method, CreateEmailDC method

Topics:

ePrint: Printing indirectly to OEM Printers