Line 30: objGraphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
Line 31: objGraphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
Line 32: objGraphics.DrawString(Session["CaptchaCode"].ToString(), new Font(familyName, 18, FontStyle.Italic), Brushes.Blue, rectf);
Line 33: objGraphics.DrawRectangle(new Pen(Color.Green), 1, 1, width - 5, height - 5);
Line 34: objGraphics.Flush();
|