Html code to write text on image
will I get my image on with in table td.
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Any thoughts, ideas or suggestions would be greatly appreciated.
tags is blocked from being sent to the client.
how can i do that. plz send me solution.
Bitmap bitMapImage = new System.Drawing.Bitmap(Server.MapPath("memati.jpg"));
Graphics graphicImage = Graphics.FromImage( bitMapImage);
SolidBrush brush = new SolidBrush(Color.FromArgb(255, Color.Red));
graphicImage.DrawString( "MEMATI'DEN SEVGILERLE", new Font("Lucida Handwriting", 30,FontStyle.Italic ),brush , new Point( 100, 100 ) );
/* Code Removed for Size. */
if (Path.GetExtension(fileName).ToLower() != ".bmp")
Bitmap theImage = new Bitmap(fileName);
fileName = Path.Combine(mySetting.m_settingsPath , "new.bmp");
theImage.Save (fileName, System.Drawing.Imaging.ImageFormat.Bmp);
// REMOVE THIS LINE - theImage .Dispose();
/* Code Removed for Size . */
catch (Exception ex)
theImage.Dispose(); // PUT IN THIS LINE
Its very easy, you only need to change the imports. ;
Bitmap bitMapImage = new System.Drawing.Bitmap(Server.MapPath("dallen.jpg") );
Graphics graphicImage = Graphics.FromImage(bitMapImage);
graphicImage.DrawString( "VIVA EL FARY", new Font("Arial", 12,FontStyle.Bold ), SystemBrushes.WindowText, new Point( 100, 250 ) );
graphicImage.DrawArc(new Pen(Color.Red, 3), 90, 235, 150, 50, 0, 360);
Web04 | 2.8.171207.1 | Last Updated 18 Jun 2004
Everything else Copyright © CodeProject, 1999-2017