The BiPrintImageExt function is obsolete, use BiPrintImageExt2 function instead.
Description |
This function prints a DIB at the specified position and with the specified size. The input lpRect parameter contains the Top-Left and Bottom-Right coordinates of the desired printed image. The position and size can be specified in pixels, tens of mm (mm/10) or hundredths of Inches (Inch/100), as set by the bUnits parameter. |
||
Syntax |
RetVal = [BIPrint.]BiPrintImageExt hDC hDIB lpRect bUnits |
||
Returns |
RetVal |
Integer |
It is zero on success or error code on error. |
Remarks |
hDC |
LONGLONG Printer hDC. |
|
|
hDIB |
LONGLONG DIB handle. |
|
|
lpRect |
LPRECT |
Top-Left and Bottom-Right points of the desired printed image. lpRect->left = Top-Left point x coordinate. lpRect->top = Top-Left point y coordinate. lpRect->right = Bottom-Right point x coordinate. lpRect->bottom = Bottom-Right point y coordinate. |
|
bUnits |
Byte |
Units of the lpRect values. Can be one of MM_TEXT (pixels), MM_LOMETRIC (mm/10) and MM_LOENGLISH (Inch/100). |
See Also