ASP.NET Image Converter SDK Component

AddImage

 

Add Overlay Image. Support PNG, RAW Image, BMP, GIF, ICO, JPEG, JPEG 2000, PCX, PNG, WMF, WBMP, TGA, PGX, RAS, PNM image
 

void AddImage(
 string strImage,
 int iX,
 int iY
 )
void AddImage(
 string strImage,
 int iX ,
 int iY ,
 int iResizeWidth ,
 int iResizeHeight
 )

 

Parameter
strImage
the path of overlay image file.

iX
Specifies the logical x-coordinate of the starting point of the image.

iY
Specifies the logical y-coordinate of the starting point of the image.

iResizeWidth
Specifies the width of overlay image.

iResizeHeight
Specifies the height of overlay image.


Return Value
Return true - successful
Return false - failed

Example

   

C# Syntax
using ImageConverterVsWrapper;

ImageConverterVs obj = new ImageConverterVs();
obj.AddImage(strOverlayImagepath1, 200, 300);
obj.AddImage(strOverlayImagepath2, 300, 100,150, 150);
bool bResult = obj.ConvertToImage(strinputpath1, stroutpath);