DisplayImageOnHDC Method

See Also     Examples     Applies To

Displays the native image into a HDC (Handle to Device Context).

Syntax

object.DisplayImageOnHDC (nHDC, nDstX, nDstY, nDstWidth, nDstHeight, nSmoothingMode, nInterpolationMode)

The DisplayImageOnHDC syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nHDC Required. Long. HDC. Value of the Handle to Device Context.
nDstX Required. Long. Left pixel destination of the HDC.
nDstY Required. Long. Top pixel destination of the HDC.
nDstWidth Required. Long. Width in pixel of the drawed image.
nDstHeight Required. Long. Height in pixel of the drawed image.
nSmoothingMode Optional. Long SmoothingMode. Default value is 3 (SmoothingModeNone).
nInterpolationMode Optional. Long InterpolationMode. Default value is 0 (InterpolationModeDefault).

Returns

GdTwainStatus

Remarks

The GdTwainStatus constants are defined HERE

Category

Display an image





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.