Description Scales a monochrome device independent bitmap (DIB).
Syntax NewDib = [BiDib.]ScaleGrayDIB hDib nXOrg nYOrg nXInpLength nYInpLength XScale YScale nMethode
Returns NewDib LONGLONG The scalled image. 0 if an error occurred.
Remarks hDib LONGLONG Handle to the monochrome DIB to be scaled.
nXOrg Short X origin of the source image.
nYOrg Short Y origin of the source image.
nXInpLength Short Image width to be scaled.
nYInpLength Short Image height to be scaled.
XScale Short Width of the result image.
YScale Short Height of the result image.
nMethod Short Scaling method.
BILINEAR Bilinear interpolation
CUBICSPLINE Cubic spline interpolation
See Also