pdf export size for barcodes

Stimulsoft Reports.NET discussion
Post Reply
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

pdf export size for barcodes

Post by Jozef Balga »

Hello!

I am working with a report template, where several hundred barcodes can be displayed in the generated pdf document. Unfortunately the size of the generated document is too huge, about 10 MB for 100 barcodes. Is there any way to optimize the generated document size?
I use the following pdf export settings:

Code: Select all

StiPdfExportSettings settings = new StiPdfExportSettings();
settings.ImageQuality = 1.0f;
settings.ImageResolution = 200;
settings.KeywordsString = DateTime.Today.ToString("dd.MM.yyyy HH:mm:ss");
settings.ExportRtfTextAsImage = true;
settings.EmbeddedFonts = false;
The barcodes - type Code128c - are positioned on a databad with 3 colums and approximately 36 barcodes are printed on an A4 page.
Thank you for your help.

Jozef
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: pdf export size for barcodes

Post by HighAley »

Hello.

Please, try to set also next export property:

Code: Select all

ImageCompressionMethod = StiPdfImageCompressionMethod.Flate;
Thank you.
Post Reply