DC_PrintPicture

This function print a picture in the monochrome BMP file.

LONG DC_PrintPicture(
    LPCTSTR filepath,
    double pos_x,
    double pos_y,
    double width,
    double height
);

Parameters

str

is the path and name of the picture file.

pos_x, pos_y

start position of the picture’s coordinate.

width

destination width of picture, if 0, initial width of the picture is used.

height

destination height of picture, if 0, initial height of the picture is used.

 

Return Values

SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure



© 2008 SPRT . All rights reserved.