PDF417 Bar Code Width/Height

Stimulsoft Reports.WPF discussion
Post Reply
aferguson
Posts: 7
Joined: Fri Nov 20, 2009 2:39 pm

PDF417 Bar Code Width/Height

Post by aferguson »

Hello,

First, if this has been addressed already, I apologize; I couldn't find any other threads discussing PDF417 bar codes aside from release notes.

I'm trying to use a PDF417 bar code and it is being generated too tall. Looking at the spec, PDF417 allows for 3 to 90 rows in the bar code. The Reports.Wpf product seems locked at 3 rows (columns?) so it gets taller instead of wider. Is it possible to increase the number of rows generated so that we could generate a wider, yet shorter code?

Thanks,
Adam
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

PDF417 Bar Code Width/Height

Post by Andrew »

Hello,

By default the automatic selection of the barcode size according to the value of the AspectRatio property (the ratio of the barcode width and height) is set.
The AutoDataColumns and AutoDataRows properties defines the direction in which the selection of the size will be carried out automatically.
In your case please set the AutoDataRows property to false, and select the desired value of the DataRows property. Now when you change the amount of data only the width of the barcode will be changed.

Also, we have found a bug in Designer.Wpf, because of which all the properties of the barcode were not shown.
The problem will be solved in the coming days. The patch will be available in the next prerelease build.

Thank you.
aferguson
Posts: 7
Joined: Fri Nov 20, 2009 2:39 pm

PDF417 Bar Code Width/Height

Post by aferguson »

Wonderful, that sounds like exactly what we need. I didn't think to look at the properties programmatically; I was only looking at the designer, so I think I must just have run into that bug. I'll check it out whenever the prerelease comes out. Thanks!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

PDF417 Bar Code Width/Height

Post by Andrew »

Hello,

Ok! Let us know about the result.

Thank you.
Post Reply