Hi, I am quite new to C# and would like to re-write an app that I have developed in VBA recently.
I have several complex shapes drawn externally in PowerPoint and saved as .png and/or .bmp pictures. I have loaded one of them manually on the pictureBox1. Now I want to fill solidcolor it by a control, say a slider at a rate of app 5-10 RGB colors per second over a range (there are 250+ colors over the entire range of the vertical slider).
How can I do this? Most of the 'Fill Color' examples I've found on the web deal with drawing a rectangle/oval and then filling it. Since I already have a shape loaded on the Form how can I introduce it and then change the color? My picture consists of two parts: Outer block - a rectangle working as a background and an irregular inner shape which needs to be painted/filled. To give the Fill effect of a Paint program am I supposed to define a pixel inside the inner shape first?
Thank you..
I have several complex shapes drawn externally in PowerPoint and saved as .png and/or .bmp pictures. I have loaded one of them manually on the pictureBox1. Now I want to fill solidcolor it by a control, say a slider at a rate of app 5-10 RGB colors per second over a range (there are 250+ colors over the entire range of the vertical slider).
How can I do this? Most of the 'Fill Color' examples I've found on the web deal with drawing a rectangle/oval and then filling it. Since I already have a shape loaded on the Form how can I introduce it and then change the color? My picture consists of two parts: Outer block - a rectangle working as a background and an irregular inner shape which needs to be painted/filled. To give the Fill effect of a Paint program am I supposed to define a pixel inside the inner shape first?
Thank you..