Add text to image

Hello,
I need to add dynamic text to an image placed in a worksheet. I am trying to create a textbox object , but not able to figure out how to go about it. Please find below the code snippet so far :

Syncfusion.XlsIO.IWorksheet xlWS = _xlWB.Worksheets.Create("Title1");
Image img = new Bitmap(stream);
IPictureShape iPic = xlWS.Pictures.AddPicture(1,1,46,9,img);
string AuthorInfo = "Paul,UK"
// Code to add text to the picture - Start

??

// Code to add text to the picture - End

In the above code, string AuthorInfo needs to be placed over the image.

Your help will be appreciated.

Thank you,
/R.




1 Reply

GM Geetha M Syncfusion Team September 5, 2008 10:42 AM UTC

Hi,

Essential XlsIO does not provide support to insert TextBox and so currently it is not possible to add a text to the image.

Please let me know if you have any other questions.

Regards,
Geetha


Loader.
Up arrow icon