DisplayImageRectOnHDC Method

See Also     Examples     Applies To

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

Syntax

object.DisplayImageRectOnHDC (nHDC, nDstLeft, nDstTop, nDstWidth, nDstHeight, nSrcLeft, nSrcTop, nSrcWidth, nSrcHeight, nInterpolationMode)

The DisplayImageRectOnHDC 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.
nDstLeft Required. Long. Left pixel destination of the HDC.
nDstTop Required. Long. Top pixel destination of the HDC.
nDstWidth Required. Long. Width in pixel of the drawn image.
nDstHeight Required. Long. Height in pixel of the drawn image.
nSrcLeft Required. Long. Left pixel source of the image to draw.
nSrcTop Required. Long. Top pixel source of the image to draw.
nSrcWidth Required. Long. Width portion in pixel of the image to draw.
nSrcHeight Required. Long. Height portion in pixel of the image to draw.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long. GdPictureStatus

Category

Display an image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.