Hi
I am using MVC Application Html page convert to pdf using Nreco dll less data font comming proper only but more data font size small and some data not come any solution for this
Hi
I am using MVC Application Html page convert to pdf using Nreco dll less data font comming proper only but more data font size small and some data not come any solution for this
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jayraj ChhayaPosted Feb 21, 2024, 12:12 PM
When encountering font size discrepancies and missing data during PDF conversion using the NReco DLL in an MVC application, consider adjusting the CSS styles for the HTML content being converted. Ensure that the CSS properties for font sizes are appropriately set to accommodate varying amounts of data.
You can target specific elements in your HTML using CSS to control the font size during conversion. For example, you can set a minimum font size for certain elements to prevent them from becoming too small in the PDF output. Additionally, check if any conflicting styles might be affecting the font rendering.
By fine-tuning the CSS styles and ensuring consistency in font sizes across different data volumes, you can optimize the PDF conversion process using the NReco DLL in your MVC application.