Rank: Advanced Member Groups: Member
Joined: 11/8/2015 Posts: 42
|
I upgraded to the newer 16.0.7 version of EO.PDF, updated the license, and at first glance, the headers and footers are not. . . I didn't see anything different I needed to do with code because of the new version. Here is my code:
Code: C#
var headerText = "<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\"><head> <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\"> <style> html, body { margin: 0; padding: 0; font-size: 11px; } body { font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; color: #333; } table, tbody, tr, td { margin: 0; padding: 0; } table { width: 100%; } </style></head><body> <div style=\"position:relative; height:75px; border-top:5px solid #393F44;\"> <div style=\"position:absolute;left:1px;top:1px;width:90px;height:100%;\"> <img src=\"data:image/png;base64, /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAC3ALcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8Rc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pYhXkrPudNDF1KOi1XY8d6daK9I1Xw1Z6kC6jyZ/76Dg/UVxGpaLe6W+JoyY88SLypr53FYCrh9Xqu57VDF062i0fYdpevXuksFiffD3hc5X8PSumg1/T/ACWubKxEd1IfnyoAB+o61w1amm/8e7f71YxxtalDli/Trb07FVcNTm+Zr/g+ppXN3PeSb55C57DsPoKhorUsNEuLvDuPLi9T1P0rlp06uInaKcmwlOFKOuiM1EeRwqKWY9ABW7YeHicSXZwP7g6/jWzZ2FvZJiJPm7sepq1X0WEyaEPer6vt0/4J5dfHylpT0QyKGOCMJEgRR2Ap9FFe2kkrI89tvVhRRRTEFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFNkjSVGSRFdGGCrDINFFAHLat4Pjl3S6ewjfqYmPB+h7VkaTplzKz2wUCRXO7LdKKK8TGZfQdSFla71senQxdX2cru9jr7HRLe0w8gEsvqRwPwrToor1qNCnRjy01ZHnzqSqO8ncKKKK1ICiiigAooooAKKKKACiiigD/9k=\" height=\"75\" /> </div> <div style=\"position:absolute;top:0;right:60px;height:50px;line-height:50px; color:#20BBA6;font-weight: 500; font-size: 19px;\"> Profit and Loss </div> <div style=\"position: absolute; top: 0; right: 0; height: 50px; width: 50px; background-color: #20BBA6; color: #fff; text-align: center;\"> <svg height=\"40\" viewBox=\"292.9 376 26.2 40\"> <path fill=\"#FFFFFF\" d=\"M312.1 416h-18.3c-0.5 0-0.9-0.4-0.9-0.9v-28.2c0-0.5 0.4-0.9 0.9-0.9h24.4c0.5 0 0.9 0.4 0.9 0.9v22.9c0 0.3-0.1 0.5-0.3 0.7l-6.2 5.3C312.5 415.9 312.2 416 312.1 416zM294.7 414.2h17l5.5-4.7v-21.5h-22.5V414.2z\" /> <path fill=\"#FFFFFF\" d=\"M307.4 409.3h-8.6c-0.5 0-0.9-0.4-0.9-0.9s0.4-0.9 0.9-0.9h8.6c0.5 0 0.9 0.4 0.9 0.9S307.9 409.3 307.4 409.3z\" /> <path fill=\"#FFFFFF\" d=\"M307.4 404.4h-8.6c-0.5 0-0.9-0.4-0.9-0.9 0-0.5 0.4-0.9 0.9-0.9h8.6c0.5 0 0.9 0.4 0.9 0.9C308.3 404 307.9 404.4 307.4 404.4z\" /> <path fill=\"#FFFFFF\" d=\"M313.3 399.3h-14.5c-0.5 0-0.9-0.4-0.9-0.9v-6.2c0-0.5 0.4-0.9 0.9-0.9h14.5c0.5 0 0.9 0.4 0.9 0.9v6.3C314.2 398.9 313.8 399.3 313.3 399.3zM299.7 397.4h12.6v-4.3h-12.6V397.4z\" /> <path fill=\"#FFFFFF\" d=\"M311.5 414.7L311.5 414.7c-0.5 0-0.9-0.4-0.9-0.9v-5.1c0-0.5 0.4-0.9 0.9-0.9h5.4l0 0c0.5 0 0.9 0.4 0.9 0.9 0 0.5-0.4 0.9-0.9 0.9h-4.5v4.2C312.4 414.3 312 414.7 311.5 414.7z\" /> </svg> </div> </div></body></html>"
EO.Pdf.HtmlToPdf.Options.HeaderHtmlFormat = headerText;
EO.Pdf.HtmlToPdf.Options.HeaderHtmlPosition = .139F;
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This can be an issue on our side. We will investigate and get back to you as soon as possible.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2015 Posts: 42
|
Any updates on this?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please download build .12 from our download page. This build fixed the header/footer issue.
Thanks!
|