Inesoft
PrintCE SDK EVC++ |
C++ Syntax: long ret = object.GetPictureSize(
LPCTSTR path,
VARIANT *width,
VARIANT *height,
BOOL keep_aspect);
);eVB Syntax: value = object.GetPictureSize(path, width, 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
kPixels - measurement in the device pixels
kInches - measurement in inches
kMillimeters - measurement in millimeters
kCentimeters - measurement in centumeters
kPoints - measurement in points (used for fonts), 72 points per logical inchReturn Value
ret
1 if the picture is drawn, 0 if the picture is not found
Review
Coordinates are returned in the current measurement units (please refer to MeasureUnit property)
© 2009 Inesoft. All rights reserved.