DC_GetPictureSize

The function returns size of the picture in the monochrome BMP file.

LONG DC_GetPictureSize(
    LPCTSTR filepath,
    double *width,
    double *height
);

Parameters

str

is the path and name of the picture file.

width

points variable getting value of the picture’s width.

height

points variable getting value of the picture’s height.

 

Return Values

SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure



© 2008 SPRT . All rights reserved.