Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Checkboxes in datagridview Pin
half-life5-Nov-07 5:32
half-life5-Nov-07 5:32 
GeneralRe: Checkboxes in datagridview Pin
akkram5-Nov-07 5:30
akkram5-Nov-07 5:30 
Questionimport vrml Pin
GeoVx12345-Nov-07 1:23
GeoVx12345-Nov-07 1:23 
AnswerRe: import vrml Pin
led mike5-Nov-07 5:05
led mike5-Nov-07 5:05 
GeneralRe: import vrml Pin
GeoVx12345-Nov-07 20:34
GeoVx12345-Nov-07 20:34 
QuestionGet frame from video file Pin
DeepOceans5-Nov-07 1:11
DeepOceans5-Nov-07 1:11 
AnswerRe: Get frame from video file Pin
TJoe5-Nov-07 1:47
TJoe5-Nov-07 1:47 
QuestionShadow for text GDI+ Pin
N a v a n e e t h5-Nov-07 0:56
N a v a n e e t h5-Nov-07 0:56 
Bitmap bmp = new Bitmap(800,600,PixelFormat.Format24bppRgb);
Graphics objGraphics = Graphics.FromImage(bmp);
Rectangle rect = new Rectangle(50,30,600,480);
LinearGradientBrush brush = new LinearGradientBrush(rect,Color.Black,Color.Bisque,LinearGradientMode.BackwardDiagonal);
SolidBrush objSolid = new SolidBrush(Color.Red);
objGraphics.FillRectangle(brush,rect);
objGraphics.DrawString("Hello world",new Font("Curlz MT",78,FontStyle.Bold),objSolid,50,30);
bmp.Save(@"c:\my.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
bmp.Dispose();
I am learning GDI+, I wrote the above code to generate a image with some text specified.

1 - Is there any way to give shadow for the text ?
2 - Is there any way to style the text other than changing font ?

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions

AnswerRe: Shadow for text GDI+ Pin
TJoe5-Nov-07 1:45
TJoe5-Nov-07 1:45 
GeneralRe: Shadow for text GDI+ Pin
N a v a n e e t h5-Nov-07 2:29
N a v a n e e t h5-Nov-07 2:29 
QuestionMultithreading with screen refresh Pin
ateeb5-Nov-07 0:31
ateeb5-Nov-07 0:31 
AnswerRe: Multithreading with screen refresh Pin
amitcoder835-Nov-07 0:34
amitcoder835-Nov-07 0:34 
GeneralRe: Multithreading with screen refresh Pin
ateeb5-Nov-07 0:45
ateeb5-Nov-07 0:45 
GeneralRe: Multithreading with screen refresh Pin
Robert Rohde5-Nov-07 2:01
Robert Rohde5-Nov-07 2:01 
GeneralRe: Multithreading with screen refresh Pin
Luc Pattyn5-Nov-07 2:05
sitebuilderLuc Pattyn5-Nov-07 2:05 
QuestionDisplay a String[] Array Pin
Kantel5-Nov-07 0:24
Kantel5-Nov-07 0:24 
AnswerRe: Display a String[] Array Pin
Pete O'Hanlon5-Nov-07 0:27
mvePete O'Hanlon5-Nov-07 0:27 
AnswerRe: Display a String[] Array Pin
amitcoder835-Nov-07 0:31
amitcoder835-Nov-07 0:31 
QuestionUnauthorised access to my local directory while using webclient [modified] Pin
amitcoder835-Nov-07 0:15
amitcoder835-Nov-07 0:15 
QuestionEmail mime type Pin
dabs5-Nov-07 0:04
dabs5-Nov-07 0:04 
QuestionLOC Counter Pin
Ya3sam4-Nov-07 23:57
Ya3sam4-Nov-07 23:57 
AnswerRe: LOC Counter Pin
Pete O'Hanlon5-Nov-07 0:14
mvePete O'Hanlon5-Nov-07 0:14 
JokeRe: LOC Counter Pin
Luc Pattyn5-Nov-07 2:08
sitebuilderLuc Pattyn5-Nov-07 2:08 
GeneralRe: LOC Counter Pin
Pete O'Hanlon5-Nov-07 4:22
mvePete O'Hanlon5-Nov-07 4:22 
QuestionMessageQueue permissions Pin
gewe4-Nov-07 23:55
gewe4-Nov-07 23:55 

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.