Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
Just installed latest version, and the report i sended to you keeps generating a pdf file with 180Kb.
This is to big. can you help me reduce the size of the generated file?
Just made a small winForms program to generate a pdf file of a simple report with a databand.
Just run the app and press Generate button, the pdf file will be created inside the C:\StimulsoftPDFSizeTest\StimulsoftPDFSizeTest\bin\Debug\Documents
folder.
As you can see the pdf file created as 160Kb... this seems quite large... Can i do something to reduce the size of the generated report?
If the UseUnicode + Encryption is used, then it is necessary to use the Embedded fonts = true (this will done automatically). It's restriction of Adobe Acrobat for correct displaying of national symbols etc.
So you have 2 ways:
1. Set UseUnicode=false; sometimes can be some problem with national characters, if pdf-file is opened on system where correspond fonts is not installed.
2. Don't use Encryption - do not set the UserAccessPrivileges.
I am also facing the same issue.. Size Issue of PDF.
Already set the StiPdfExportSettings.EmbeddedFonts to false. But it is not impacting the size of pdf report too much (just 20kb less as actual).
StiPdfExportSettings.ImageResolution default value is 100dpi, Chart or graph image (emf) is not clear, when I use StiPdfExportSettings.ImageResolution = 400, it is
displaying clean and bright but the pdf report size too much exceeded. In case of default values report size is 156kb but when I do StiPdfExportSettings.ImageResolution = 400, it is showing me the size of report 875kb. it is just a single page report.