locked
Painting image using ASP.NET? RRS feed

  • Question

  • User984674899 posted
    Is there any way to paint an image on our custom control?
    The same way that when we want to paint some pixels at some coordinates using GDI+.
    While I also enjoy using other language, I'd be very thankful if you could reply me a sample code or references based on C# language.
    Saturday, July 29, 2006 7:06 AM

All replies

  • User1439985827 posted
    You cannot edit the appearance of a web control via GDI+ like you can with Windows Forms. All you can do is use an image somehow in your control. However, Images can be generated via an handler and GDI+.
    Saturday, July 29, 2006 10:10 PM
  • User984674899 posted
    However, Images can be generated via an handler and GDI+.


    Can we generate image on a specified region only then?
    Also, would you be kind enough to give me some sample code or references for this?
    Thanks in advance, I need this for my task in school.
    Monday, July 31, 2006 11:53 PM