This is a migrated thread and some comments may be shown as answers.

Name on Image

1 Answer 36 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
khansa
Top achievements
Rank 1
khansa asked on 25 Jul 2011, 06:32 AM
Dear .

Have a nice day.

I am using RadUpload Control to upload images on server.

I want to write domain Name on the image so automatically any user upload image, domain name apear on image, so my images become copyright.

How can i do this?

Thank you so much for your help.

Regards.

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 25 Jul 2011, 02:16 PM
Hello Khansa,

Please review the following post. Here is a sample code:

//after the image is uplaoded use the following sample code to insert text into image
Bitmap myBitmap = new Bitmap("path of the file");
Graphics g = Graphics.FromImage(myBitmap);
g.DrawString("My\nText1", new Font("Tahoma", 40), Brushes.White, new PointF(0, 0));
myBitmap.Save("new file name");

Hope it helps.

All the best,
Peter Filipov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Upload (Obsolete)
Asked by
khansa
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or