title: Iterate the bitmap rows and column
body: <p>i know it may be easy but i couldn't able to find a solution for this.</p>
  
  <p>i need to get the next row of bitmap after using all the bitmap of current bitmap
  I'm making a stenography program where I'm hiding a text file inside image.
  Each character is stored inside 8 different bytes.
  so after hiding text inside 1st column i need to get next column and  so on.
  I'm very weak in this. I tried this for 1st row, but don't know for other rows according to text length.</p>
  
  <pre><code>private void HIDE(){
                  if (textBox1.Text != "")
                  {
                      Bitmap bitmap = (Bitmap)pictureBox1.Image;
                      int next,width=0;
                      for (int t = 0; t &lt; textBox1.Text.Length; t++)
                      {
                          next = 8 * t;
                              for (int i = 0; i &lt; 8; i++)
                              {
                                  if (i * t &lt;= bitmap.Width/8)
                                  {
                                       //hiding code for 1st row
                                  }
                                  else 
                                  {
                                      //hiding code for 2nd row
                                  }
                              }
  
                      }
                  }}
  </code></pre>