PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
how to add logo to page header and footer http://forum.pdfsharp.de/viewtopic.php?f=2&t=4033 |
Page 1 of 1 |
Author: | doctorgamma [ Fri Oct 18, 2019 3:16 pm ] |
Post subject: | how to add logo to page header and footer |
Hello, I have a logo called; logo.jpg I want to add the logo to page header or footer I have the logo inside resources folder in my project I tried the code: footer.AddImage("Resources.logo.jpg"); when I run the script, and the pdf file is generated, I got that " image not found" can you please help me in solving this issue |
Author: | TH-Soft [ Fri Oct 18, 2019 8:44 pm ] |
Post subject: | Re: how to add logo to page header and footer |
Hi! Read the resource into a byte array and convert it to string. See also: http://pdfsharp.net/wiki/MigraDoc_FilelessImages.ashx |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |