Evaluating Genrator, problem with sizing QRCode

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v9)  /  Evaluating Genrator, problem with sizing QRCode

DynamicPDF CoreSuite for .NET (v9) Forum

I'm testing Generator for .NET

I would like to specify the dimension of the QR-Code.

When setting XDimensionMilliMeters = 1.0  I get a Barcode with 21 mm
XDimensionMilliMeters = 0.5 results in 10.5 mm

Is this logical?
What are the units for XDimensionMilliMeters?
Thanks

-bernhard
Posted by a ceTe Software moderator
Hello,

The XDimensionMilliMeters property of the barcode sets the XDimension in millimeters. XDimension does not represent the entire width of the barcode, it is the width of a module (one black square) and a barcode is composed of several of these modules. The number of modules a barcode contains depends on the data being encoded. It is not possible to specify a set dimension for the entire barcode size. Barcode dimensions vary based on the amount of data being encoded and for a given XDimension. You can use the GetSymbolWidth() method to check the actual width of the barcode for a given xDimension and change the XDimension value until you achieve the desired width.

Thanks,
ceTe Software Support Team.
Thanks for the Information.

May be you can put a little bit more Explanation in the Documentation/Description of Methods and Properties.

Some things are no really easily understood if you are new to the task.

-bernhard
Posted by a ceTe Software moderator
Hello Bernhard,

Thanks for the feedback. We will take it under consideration.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 2:22 PM.