You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new ObjectSettings() { WebSettings = new WebSettings() { UserStyleSheet = Path.Combine(Directory.GetCurrentDirectory(), @"ClientApp\public\stylesheet.css") } HtmlContent= str.ToString() }
Local debugging this works fine. When I publish and view the pdf, the stylesheet is not implemented. The directory seems correct when I logged the directory path.
Does it need to be an absolute path? I can't seem to get it to work otherwise.
The public directory is accessible, I can access this style sheet and images.
Using 64 bit libwkhtmltox.dll
The text was updated successfully, but these errors were encountered:
new ObjectSettings() { WebSettings = new WebSettings() { UserStyleSheet = Path.Combine(Directory.GetCurrentDirectory(), @"ClientApp\public\stylesheet.css") } HtmlContent= str.ToString() }
Local debugging this works fine. When I publish and view the pdf, the stylesheet is not implemented. The directory seems correct when I logged the directory path.
Does it need to be an absolute path? I can't seem to get it to work otherwise.
The public directory is accessible, I can access this style sheet and images.
Using 64 bit libwkhtmltox.dll
The text was updated successfully, but these errors were encountered: