Godfrey

Godfrey

  • NA
  • 38
  • 900

Stating relative path of Image file in a directory C#

Apr 22 2014 3:47 AM
Hello community,

I'm stuck at this point. I have an image file in the Resources directory called Logo.jpg. Now i want to declare the path to this file so that when i build the setup file, the application goes with the Logo embedded. This logo should be added to a report the app generates in pdf format.
I have set the properties of the Logo.jpg to embedded resource, and copy to output directory to copy always.

I will really appreciate your support.

Best regards,

Godfrey