Description This function prints a DIB at (0,0) starting point in bFlag specified mode.
Syntax RetVal = [BIPrint.]BiPrintImage hDC hDIB bFlag
Returns RetVal Integer It is zero on success or error code on error.
Remarks hDC LONGLONG Printer hDC.
hDIB LONGLONG DIB handle.
bFlag BYTE Printing mode.
Available values:
BI_PRINT_SCALE_IMAGE (0): Scales to image to fit page, maintains aspect ratio.
BI_PRINT_STRETCH_IMAGE (1): Stretches to image to fit page, does not maintain aspect ratio.
BI_PRINT_USE_IMAGE_DPI (2): Prints the image using the image’s DPI. It will produce the original image size (the image needs to have a valid DPI).
See Also