See Also Examples Applies To
Draws a portion of an image into the native GdPicture image.
Syntax
object.DrawImageRect (nimageID, nDstLeft, nDstTop, nDstWidth, nDstHeight, nSrcLeft, nSrcTop, nSrcWidth, nSrcHeight, nInterpolationMode)
The DrawImageRect syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nimageID | Required. Long. GdPicture Image handle. Image handle of the image to draw into the native GdPicture image. |
| nDstLeft | Required. Long. Left pixel destination of the native GdPicture image. |
| nDstTop | Required. Long. Top pixel destination of the native GdPicture image. |
| nDstWidth | Required. Long. Width of the drawn image. |
| nDstHeight | Required. Long. Height 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
Draw (Images)