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
Evaluating Genrator, problem with sizing QRCode
Re: Evaluating Genrator, problem with sizing QRCode
Support · Mar 21, 2018Hello,
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.
Re: Evaluating Genrator, problem with sizing QRCode
Forum member · Mar 22, 2018Thanks 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
Re: Evaluating Genrator, problem with sizing QRCode
Support · Mar 22, 2018Hello Bernhard,
Thanks for the feedback. We will take it under consideration.
Thanks,
ceTe Software Support Team.