FreeImageBitmap.Paste Method (FreeImageBitmap, Int32, Int32, Int32)

FreeImage.NET

FreeImageBitmapPaste Method (FreeImageBitmap, Int32, Int32, Int32)
Alpha blend or combine a sub part image with this FreeImageBitmap. The bit depth of bitmap must be greater than or equal to the bit depth this instance.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool Paste(
	FreeImageBitmap bitmap,
	int left,
	int top,
	int alpha
)

Parameters

bitmap
Type: FreeImageAPIFreeImageBitmap
The FreeImageBitmap to paste into this instance.
left
Type: SystemInt32
Specifies the left position of the sub image.
top
Type: SystemInt32
Specifies the top position of the sub image.
alpha
Type: SystemInt32
alpha blend factor. The source and destination images are alpha blended if alpha=0..255. If alpha > 255, then the source image is combined to the destination image.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also