 | IBitmapImagePaste Method (IBitmapImage, Int32, Int32, Int32, Int32, Int32, Int32, Single, Int32, Single) |
Copies a rectangular region from paste source image in to destination image.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxvoid Paste(
IBitmapImage pasteSourceImg,
int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
int destX,
int destY,
float opacity,
int transparentColourRGB,
float matchAccuracy
)
Parameters
- pasteSourceImg
- Type: CohesiveComputing.ImagingIBitmapImage
The image to paste. - sourceX
- Type: SystemInt32
Start X of paste image. - sourceY
- Type: SystemInt32
Start Y of paste image. - sourceWidth
- Type: SystemInt32
Width of region in paste image. - sourceHeight
- Type: SystemInt32
Height of region in paste image. - destX
- Type: SystemInt32
The start X position to paste. - destY
- Type: SystemInt32
The start Y position to paste. - opacity
- Type: SystemSingle
The opacity value. Anything less than 1.0 will achieve a 'blend' effect. - transparentColourRGB
- Type: SystemInt32
RGB chroma key value. - matchAccuracy
- Type: SystemSingle
1 indicates exact match. A value less than 1 indicates less accurate match.
Exceptions
See Also