Click here to Skip to main content
15,850,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: Evaluating expressions Pin
Jeff Varszegi25-Apr-04 23:45
professionalJeff Varszegi25-Apr-04 23:45 
GeneralRe: Evaluating expressions Pin
Heath Stewart26-Apr-04 4:13
protectorHeath Stewart26-Apr-04 4:13 
GeneralClass Circular References Pin
Abner Mallidy25-Apr-04 19:40
Abner Mallidy25-Apr-04 19:40 
GeneralRe: Class Circular References Pin
Jeff Varszegi25-Apr-04 20:55
professionalJeff Varszegi25-Apr-04 20:55 
Questionhow to draw on a bitmap? Pin
lowiq25-Apr-04 19:08
lowiq25-Apr-04 19:08 
AnswerRe: how to draw on a bitmap? Pin
CWIZO25-Apr-04 22:25
CWIZO25-Apr-04 22:25 
GeneralRe: how to draw on a bitmap? Pin
lowiq25-Apr-04 22:58
lowiq25-Apr-04 22:58 
GeneralRe: how to draw on a bitmap? Pin
Heath Stewart26-Apr-04 4:08
protectorHeath Stewart26-Apr-04 4:08 
Same way. The Bitmap class represents all images - even indexed images like GIF. See the Image and Bitmap (a derivative of Image) documentation in the .NET Framework SDK.

For ASP.NET, however, you can't generate an image inline with the page. You must either have a page that sets it's Response.ContentType to something like image/jpeg and output only an image.

This concept is covered in many articles here on CP and MSDN[^], like this article here: An ASP.NET Thumbnail Solution[^]. Many others exist, too - just search this site or google.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: how to draw on a bitmap? Pin
lowiq26-Apr-04 20:48
lowiq26-Apr-04 20:48 
GeneralRe: how to draw on a bitmap? Pin
Heath Stewart27-Apr-04 3:49
protectorHeath Stewart27-Apr-04 3:49 
GeneralRe: how to draw on a bitmap? Pin
lowiq27-Apr-04 4:47
lowiq27-Apr-04 4:47 
GeneralFormula Pin
DucLinh25-Apr-04 16:39
DucLinh25-Apr-04 16:39 
GeneralRe: Formula Pin
Nick Parker25-Apr-04 16:53
protectorNick Parker25-Apr-04 16:53 
GeneralRe: Formula Pin
Werdna25-Apr-04 18:19
Werdna25-Apr-04 18:19 
GeneralRe: question Pin
Nick Parker25-Apr-04 16:39
protectorNick Parker25-Apr-04 16:39 
GeneralRe: question Pin
Steve McLenithan25-Apr-04 17:24
Steve McLenithan25-Apr-04 17:24 
GeneralRe: question Pin
Heath Stewart25-Apr-04 18:52
protectorHeath Stewart25-Apr-04 18:52 
GeneralRe: question Pin
Steve McLenithan26-Apr-04 7:38
Steve McLenithan26-Apr-04 7:38 
GeneralRe: question Pin
Nick Parker25-Apr-04 18:45
protectorNick Parker25-Apr-04 18:45 
GeneralRe: question Pin
osto25-Apr-04 17:53
osto25-Apr-04 17:53 
GeneralcheckedListBox Line Spacing Pin
interlocked25-Apr-04 14:42
interlocked25-Apr-04 14:42 
GeneralRe: checkedListBox Line Spacing Pin
Heath Stewart25-Apr-04 18:50
protectorHeath Stewart25-Apr-04 18:50 
Generaldates reminder from database Pin
kings_125-Apr-04 14:30
kings_125-Apr-04 14:30 
GeneralRe: dates reminder from database Pin
Heath Stewart25-Apr-04 18:44
protectorHeath Stewart25-Apr-04 18:44 
GeneralRe: dates reminder from database Pin
kings_126-Apr-04 3:09
kings_126-Apr-04 3:09 

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.