title: Could not find part of the path
body: <p>I've created a billing app that creates a pdf. My issue is the pdf doesn't get created because the header for the pdf isn't being fond, i get a &quot;could not find part of the path c#&quot;.
  I've tried changing the location of the folder and also including it in the bin folder.</p>
  <pre><code>var imagepath = @System.Reflection.Assembly.GetExecutingAssembly()
      .Location + @&quot;\..\..resources\pdfHeader.png&quot;;
  using (FileStream fs = new FileStream(imagepath, FileMode.Open))
  {
      var png = Image.GetInstance(System.Drawing.Image.FromStream(fs), ImageFormat.Png);
      png.ScalePercent(25f);
      png.SetAbsolutePosition(pdfDoc.PageSize.Width - 559f - 2f , pdfDoc.PageSize.Height - 2f - 115f);
      pdfDoc.Add(png);
  }
  </code></pre>