Inesoft
PrintCE SDK EVC++ |
BOOL prnDrawBitmap(
HBITMAP hBmp,
double x,
double y,
double width,
double height,
BOOL keep_aspect
);Parameters
hBmp
handle of loaded bitmap
x, y
are coordinates of the place where the bitmap is to be drawn
width
destination width of bitmap, if 0, original width of the bitmap is used
height
destination height of bitmap, if 0, original height of the bitmap is used
keep_aspect
if TRUE, width-to-height ratio of the original bitmap remains the same
Return value
TRUE if the bitmap is drawn, FALSE if there was errors
Remark
Coordinates, width and height are set in the current measurement units (please refer to prnSetMeasureUnit)
© 2009 Inesoft. All rights reserved.