See Also Examples Applies To
Draws a portion of an image into the native GdPicture image using operator of combination.
Syntax
object.DrawImageOPRect (nimageID, nDstLeft, nDstTop, nDstWidth, nDstHeight, nSrcLeft, nSrcTop, nSrcWidth, nSrcHeight, nOperator, nInterpolationMode)
The DrawImageOPRect 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. |
| nOperator |
Required. Operators. Can be: OperatorAND = 0 OperatorOR = 1 OperatorXOR = 2 |
| nInterpolationMode | Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear). |
Returns
Long. GdPictureStatus
Category
Draw (Images)