Insert
This method copies the specified part of the image to TargetImage
.
TargetImage is not resized and all image information outside the specified rectangle is not
changed.
Use this method to merge two images.
The TargetImage
object must have the appropriate size to receive the
image data and must have the same image type like the source image.
Syntax
Insert (TargetImage As ISCBCroImage, TargetXOffset As
Long, TargetYOffset As Long, SrcXOffset As Long, SrcYOffset As Long, Width As Long,
Height As Long)
Parameter | Description |
---|---|
TargetImage |
Interface pointer to target image, which receives the copy of the image. No additional memory is allocated for this image. Use the |
TargetXOffset |
Integer value specifying the |
TargetYOffset |
Integer value specifying the |
SrcXOffset |
Integer value specifying the |
SrcYOffset |
Integer value specifying the |
Width |
Width of the rectangle to copy. Use 0 to copy the entire image. |
Height |
Height of the rectangle to copy. Use 0 to copy the entire image. |