This function deletes the device context.
[C++Builder/Visual
C++] BOOL IKPrintDeleteDC(HDC
hDC);
[Delphi] function
IKPrintDeleteDC(hDC: HDC): LongBool;
[Visual Basic] Function
IKPrintDeleteDC(ByVal hDC As Long) As Long
Parameters
Name | Explanation |
---|---|
hDC | The device context retrieved by the IKPrintCreateDC or IKPrintDlg functions |
Return Value
Returns True (nonzero) if successful. Returns False (0) if unsuccessful.
Explanation
The IKPrintDeleteDC function deletes a device context. Please execute this function after printing has completed and if the device context is no longer needed. Please refer to the sample code in the IKPrintCreateDC and IKPrintDlg functions.