Inesoft PrintCE SDK EVC++
prnGetPictureSize

The function returns size of the picture in the JPG or BMP file.

BOOL prnGetPictureSize(
    TCHAR
*string,
    double
*width,
    double
*height
);

Parameters

path

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 value

TRUE if the picture is drawn, FALSE if the picture is not found

Remarks

Coordinates are returned in the current measurement units (please refer to prnSetMeasureUnit)

See Also

prnDrawPicture

 


© 2009 Inesoft. All rights reserved.