Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.net core web app published stylesheet doesn't work #127

Open
NickersWeb opened this issue Nov 26, 2020 · 1 comment
Open

.net core web app published stylesheet doesn't work #127

NickersWeb opened this issue Nov 26, 2020 · 1 comment

Comments

@NickersWeb
Copy link

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

@mkkb917
Copy link

mkkb917 commented Jan 4, 2023

I am facing the same problem of formating here
still no responce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants