title: How to get a list of all Embed values?
body: <p>I have a docx file with multiple pictures. The document.xml looks like this (multiple times):</p>
  
  <pre><code> .... 
   &lt;w:drawing&gt;
          &lt;a:blip r:embed="rId12"&gt;
       ....
          &lt;/a:blip&gt;
  &lt;/w:drawing&gt;
  </code></pre>
  
  <p>how can I get a list of the embed-values with LINQ?</p>
  
  <p>I have this,which does not work :</p>
  
  <pre><code>string[] imageIds =                   
     (string[]) (from drawing in docx.MainDocumentPart.Document.Descendants&lt;Drawing&gt;()
      where drawing.Descendants&lt;A.Blip&gt;().First&lt;A.Blip&gt;() != null
      select drawing.Descendants&lt;A.Blip&gt;().First().Embed.Value);
  </code></pre>