Click here to Skip to main content
15,912,207 members
Home / Discussions / C#
   

C#

 
AnswerRe: Highlight spesific word on Datagridview Pin
Mircea Puiu23-Jan-07 3:44
Mircea Puiu23-Jan-07 3:44 
Questionwana buit an email clinet using a third party email server?? Pin
Saira Tanwir22-Jan-07 23:12
Saira Tanwir22-Jan-07 23:12 
GeneralRe: wana buit an email clinet using a third party email server?? Pin
Guffa23-Jan-07 0:05
Guffa23-Jan-07 0:05 
Questionvalidating multiple email addresses separated by comma Pin
babutkchn22-Jan-07 23:10
babutkchn22-Jan-07 23:10 
AnswerRe: validating multiple email addresses separated by comma Pin
Guffa23-Jan-07 0:13
Guffa23-Jan-07 0:13 
QuestionHow to add a watermark to an image Pin
gauthee22-Jan-07 23:01
gauthee22-Jan-07 23:01 
AnswerRe: How to add a watermark to an image Pin
Christian Graus22-Jan-07 23:02
protectorChristian Graus22-Jan-07 23:02 
AnswerRe: How to add a watermark to an image Pin
bobsugar22223-Jan-07 0:36
bobsugar22223-Jan-07 0:36 
A method like this may do the job, if you just want to add text to the image: (you'll need to include the System.Drawing reference and namespace)

Bitmap AddWaterMark(Bitmap uploadedBitmap)
{
Bitmap newBitmap = new Bitmap(uploadedBitmap);
Graphics g = Graphics.FromImage(newBitmap);

g.RotateTransform(45); // Angle of text
g.DrawString("Watermark Text",
new Font("Arial", 12f),
new SolidBrush(Color.FromArgb(100, Color.Black)), // the 100 is for transparency (0 = invisible, 255 = opaque)
new Point(100,100));

return newBitmap;
}
GeneralRe: How to add a watermark to an image Pin
gauthee23-Jan-07 1:09
gauthee23-Jan-07 1:09 
GeneralRe: How to add a watermark to an image Pin
gauthee23-Jan-07 1:45
gauthee23-Jan-07 1:45 
GeneralRe: How to add a watermark to an image [modified] Pin
bobsugar22223-Jan-07 3:04
bobsugar22223-Jan-07 3:04 
Questionlistview custom control Pin
biswabhusan22-Jan-07 23:00
biswabhusan22-Jan-07 23:00 
AnswerRe: listview custom control Pin
aamironline24-Jan-07 15:27
aamironline24-Jan-07 15:27 
Generallink (oop c#) Pin
biswabhusan22-Jan-07 22:59
biswabhusan22-Jan-07 22:59 
GeneralRe: link (oop c#) Pin
Christian Graus22-Jan-07 23:03
protectorChristian Graus22-Jan-07 23:03 
GeneralRe: link (oop c#) Pin
Tamimi - Code23-Jan-07 1:31
Tamimi - Code23-Jan-07 1:31 
QuestionListview control with checkbox Pin
biswabhusan22-Jan-07 22:57
biswabhusan22-Jan-07 22:57 
Questionstring serialization Pin
balkang22-Jan-07 22:56
balkang22-Jan-07 22:56 
AnswerRe: string serialization Pin
aamironline23-Jan-07 21:35
aamironline23-Jan-07 21:35 
QuestionHow to read the attribute value of an element in xml using c# Pin
VijayaRam22-Jan-07 22:54
VijayaRam22-Jan-07 22:54 
Questionadobe flash in webbrowser control Pin
overfreeze22-Jan-07 22:35
overfreeze22-Jan-07 22:35 
QuestionLocalisation of c# Windows Application Pin
VijayaRam22-Jan-07 22:35
VijayaRam22-Jan-07 22:35 
AnswerRe: Localisation of c# Windows Application Pin
Bhupi Bhai22-Jan-07 22:56
Bhupi Bhai22-Jan-07 22:56 
AnswerRe: Localisation of c# Windows Application Pin
Kodanda Pani23-Jan-07 19:08
Kodanda Pani23-Jan-07 19:08 
GeneralRe: Localisation of c# Windows Application Pin
VijayaRam31-Jan-07 1:41
VijayaRam31-Jan-07 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.