use system.drawing class in Web (ASP.NET) applications?

  • Thread starter Thread starter Wanjun Yu
  • Start date Start date
W

Wanjun Yu

Hi All,
I have never worked with C#, I am just going to ask a simple question,
Are system.drawing classes suppored in Web(ASP.NET) applications, or say can
you draw line or text in a Web application?

Thanks.

WJ
 
Wanjun,

For the use that you want, no, they are not supported. ASP.NET depends
on modifying the markup that is sent to the browser. You can use the
System.Drawing classes, but they are used in ASP.NET for things like dynamic
image manipulation/generation, and the like.

Hope this helps.
 
Nicholas,
What exactly you mean by "they are used in ASP.NET for things like dynamic
image manipulation/generation"? They can be used to draw over a image?

Thanks.

Wanjun


Nicholas Paldino said:
Wanjun,

For the use that you want, no, they are not supported. ASP.NET depends
on modifying the markup that is sent to the browser. You can use the
System.Drawing classes, but they are used in ASP.NET for things like dynamic
image manipulation/generation, and the like.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Wanjun Yu said:
Hi All,
I have never worked with C#, I am just going to ask a simple question,
Are system.drawing classes suppored in Web(ASP.NET) applications, or say can
you draw line or text in a Web application?

Thanks.

WJ
 
Wanjun,

They can be used to make modifications on the server side to an image.
That image would then have to be referenced in an ASP.NET page. You can't
write on the browser surface directly.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Wanjun Yu said:
Nicholas,
What exactly you mean by "they are used in ASP.NET for things like dynamic
image manipulation/generation"? They can be used to draw over a image?

Thanks.

Wanjun


message news:[email protected]...
Wanjun,

For the use that you want, no, they are not supported. ASP.NET depends
on modifying the markup that is sent to the browser. You can use the
System.Drawing classes, but they are used in ASP.NET for things like dynamic
image manipulation/generation, and the like.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Wanjun Yu said:
Hi All,
I have never worked with C#, I am just going to ask a simple question,
Are system.drawing classes suppored in Web(ASP.NET) applications, or
say
can
you draw line or text in a Web application?

Thanks.

WJ
 
Thanks!

Wanjun

Nicholas Paldino said:
Wanjun,

They can be used to make modifications on the server side to an image.
That image would then have to be referenced in an ASP.NET page. You can't
write on the browser surface directly.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Wanjun Yu said:
Nicholas,
What exactly you mean by "they are used in ASP.NET for things like dynamic
image manipulation/generation"? They can be used to draw over a image?

Thanks.

Wanjun


message news:[email protected]...
Wanjun,

For the use that you want, no, they are not supported. ASP.NET depends
on modifying the markup that is sent to the browser. You can use the
System.Drawing classes, but they are used in ASP.NET for things like dynamic
image manipulation/generation, and the like.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi All,
I have never worked with C#, I am just going to ask a simple question,
Are system.drawing classes suppored in Web(ASP.NET) applications, or say
can
you draw line or text in a Web application?

Thanks.

WJ
 
Back
Top