 | IBitmapImagePaste Method (IBitmapImage, Int32, Int32, Single, Boolean) |
Pastes the specified rectangular image into the destination image, with optional blending and transparency.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxvoid Paste(
IBitmapImage pasteSourceImg,
int destX,
int destY,
float opacity,
bool blackIsTransparent
)
Parameters
- pasteSourceImg
- Type: CohesiveComputing.ImagingIBitmapImage
The image to paste. - 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. - blackIsTransparent
- Type: SystemBoolean
Set to true if black in the paste image is to be treated as transparent.
Exceptions
See Also