Closed ilqar008 closed 8 years ago
I solved the issue by changing the customswitches as string customSwitches = string.Format("--header-html {0} --header-spacing 4 ", " http://localhost:portnumber/Print/Header?number="+number);
My issue was because the footer returned 404. More details on this issue.
Hello, i have an app generates pdf from html. But after i added header as in below, it gives such an error as saying that "QPaintDevice: Cannot destroy paint device that is being painted".
Could you help me to solve this issue, please? Thanks ` string customSwitches = string.Format("--load-error-handling ignore --allow {0} --header-html {0} --header-spacing 4 ", Url.Action("Header", "Print", new { area = "", number }, "http"));