ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > Merge Method |
Merges or "places" one image into another. The images do not have to be the same size but do have to be the same bit depth. srcPage is drawn into dstPage. The top left corner of dstPage will be placed at dstLeft, dstTop of dstPage. Any over-hanging pixels of srcPage will be clipped, automatically.
This method takes into account the ROI settings of srcPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.
Merge (ByVal dstPage As IGPage, ByVal srcPage As IGPage, ByVal
dstLeft As Long, ByVal dstTop As Long, ByVal Mode As
enumIGMergeModes)
Name | Description |
---|---|
dstPage | Reference to IGPage Object. |
srcPage | Reference to IGPage Object to be merged into dstPage; must have same bit depth as dstPage. |
dstLeft | The X coordinate within the destination image at which to place the upper - left corner of the source image. |
dstTop | The Y coordinate within the destination image at which to place the upper - left corner of the source image. |
Mode | Specifies what type of arithmetic operation (merge method) to perform on all pixels of dstPage that have been intersected with pixels from srcPage. |
N/A
1, 8-bit gray level, 24
Image Processing and Effects.