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

Show filled form fields by default #10

Open
Jonowa opened this issue Dec 13, 2022 · 1 comment
Open

Show filled form fields by default #10

Jonowa opened this issue Dec 13, 2022 · 1 comment

Comments

@Jonowa
Copy link

Jonowa commented Dec 13, 2022

If you set in file PdfDocument.cs in line 308 the last parameter to "true", filled form fields will be shown by default:
return Render(page, width, height, dpiX, dpiY, rotate, flags, true);
I've compiled it on my own machine and tested it successfully.

@m1l
Copy link

m1l commented Feb 7, 2024

This was not enough on my pdf files and I had to do
var image = pdfDoc.Render(page, width, height, 96, 96, PdfRenderFlags.ForPrinting | PdfRenderFlags.Annotations);

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

No branches or pull requests

2 participants