getting and writing pixels on a panel

  • Thread starter Thread starter Wolfgang
  • Start date Start date
W

Wolfgang

I have a form with a panel on it. Is there a simple way of gettting /
changing / setting individual pixels on that panel?

Could somebody provide a code snippet?

Thanks,
Wolfgang,
Santa Barbara, CA
 
Wolfgang said:
I have a form with a panel on it. Is there a simple way of gettting /
changing / setting individual pixels on that panel?

Add a handler to the panel's 'Paint' event and draw the pixels there
('e.Graphics.*').
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top