title: OpenXML: Excel, extracting Cell text and Image/Picture data
body: <p>I am writing code to extract the cells and pictures/images in cells from an Excel doc into a database.</p>
  
  <p>With this code I can get the cell values that are not Pictures.</p>
  
  <p>However, the Cell object doesn't have a picture it in. Note that every row starts with an image.</p>
  
  <pre><code>A1- Picture
  B1- Text
  C1- Text and so on. 
  </code></pre>
  
  <p>How do I get the image from the "A" column?</p>
  
  <pre><code>        WorkbookPart wbPart = document.WorkbookPart;
          var workSheet = wbPart.WorksheetParts.FirstOrDefault();
  
          foreach (Row r in workSheet.Worksheet.Descendants&lt;Row&gt;())
          {
              //Note only has Colum B,C. Not A as A has an image???
              foreach(Cell c in r.ChildElements)
              {
                  foreach(object o in c.ChildElements)
                  {
                      Console.WriteLine(c.CellReference + " " + o.ToString());
                  }
              }
          }
  </code></pre>