We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add text to image

Thread ID:





76418 Sep 5,2008 09:05 AM UTC Sep 5,2008 10:42 AM UTC WinForms 1
Tags: XlsIO
Rakshith Shetty
Asked On September 5, 2008 09:05 AM UTC

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,

Geetha M [Syncfusion]
Replied On September 5, 2008 10:42 AM UTC


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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon