load your picture into Bitmap object and use the SetPixel method
or get his Graphics object and draw whatever you need ... f.e. with DrawRectangle method;
User Profile
Collapse
-
You can not do any pixel operations in Indexed Format. Just accept that. All you can do is change your Bitmap file to non indexed format on the runtime
newBitmap = new Bitmap(oldBitma p);
now you can do the pixel operationsLeave a comment:
-
simply change the order of lines, where you are adding controls to your parent control (panel2)
So change order of 8. and 9. line to:
splitContainer1 .Panel2.Control s.Add(grid);
splitContainer1 .Panel2.Control s.Add(strip);Leave a comment:
No activity results to display
Show More
Leave a comment: