VintaSoft Barcode .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Importing ASP.Net barcode into PDF



Importing ASP.Net barcode into PDF

Post by mlprosper »

Hi,

I am using the demo version of the barcode dll to generate a datamatrix barcode in an asp.net page. I have set up the page successfully and can generate datamatrix png images just fine.

However, I am having trouble when trying to import the generated png into a PDF for printing - the barcode quality is degraded significantly. I think it is because the generated barcode is 72DPI, but the PDF is 300DPI - but I am not sure. Is there a way to ensure that a barcode will appear cleanly in a PDF when importing from an aspx page?

Thanks,
Mike


Re: Importing ASP.Net barcode into PDF

Post by Alex »

Hello Mike,

VintaSoftBarcode.NET Library generates images without resolution. The size of the image depends from the BarocodeWriter.Settings.MinWidth property. You should specify necessary to you value of the MinWidth property, generate image with barcode and change resolution of the image to 300 dpi.

We will add ability to specify resolution in BarcodeWriter in next version of library.

Best regards, Alexander


Re: Importing ASP.Net barcode into PDF

Post by mlprosper »

Thanks! The ability to specify DPI will be very helpful.


Page 1 from 1: 1