ClearImage .NET API
PasteImage Method (CiTools)





Inlite.ClearImage Namespace > CiTools Class : PasteImage Method
Source image
Target position on object.Image.   The default value is 0
Target position on object.Image.   The default value is 0
Paste another image onto the image
Syntax
'Declaration
 
Public Function PasteImage( _
   ByVal ImgSrc As CiImage, _
   ByVal left As System.Integer, _
   ByVal top As System.Integer _
) As System.Integer
'Usage
 
Dim instance As CiTools
Dim ImgSrc As CiImage
Dim left As System.Integer
Dim top As System.Integer
Dim value As System.Integer
 
value = instance.PasteImage(ImgSrc, left, top)
public System.int PasteImage( 
   CiImage ImgSrc,
   System.int left,
   System.int top
)
public function PasteImage( 
    ImgSrc: CiImage;
    left: System.Integer;
    top: System.Integer
): System.Integer; 
public function PasteImage( 
   ImgSrc : CiImage,
   left : System.int,
   top : System.int
) : System.int;
public:
System.int PasteImage( 
   CiImage^ ImgSrc,
   System.int left,
   System.int top
) 

Parameters

ImgSrc
Source image
left
Target position on object.Image.   The default value is 0
top
Target position on object.Image.   The default value is 0
Remarks

This method sets object.Image pixels to a result of the logical operation between themselves and corresponding pixels of ImgSrc located at left and top offsets.

BitsPerPixel property of object.Image and ImgSrc should be the same.

This method generates an error if object.Image.IsZone is true.

See Also

Reference

CiTools Class
CiTools Members
OrImage Method
XorImage Method
PasteImage Method