DrawImage Method

See Also     Examples     Applies To

Draws an image into the native image.

Syntax

object.DrawImage (nimageID, nDstX, nDstY, nDstWidth, nDstHeight, nInterpolationMode)

The DrawImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nimageID Required. Long. GDI+ bitmap handle. Image ID of the image to draw into the native image.
nDstX Required. Long. Left pixel destination of the native image.
nDstY Required. Long. Top pixel destination of the native image.
nDstWidth Required. Long. Width in pixel of the drawed image.
nDstHeight Required. Long. Height in pixel of the drawed image.
nInterpolationMode Optional. Long InterpolationMode. Default value is 5 (InterpolationMode.InterpolationModeNearestNeighbor).

Returns

ImagingStatus

Remarks

The ImagingStatus constants are defined HERE

Category

Draw (Images)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.