Delphi Datamatrix Static Size

0

I'm working with Data Matrix I'm using Unit DataMatrixBarcode, dmtx.

var
options:DatamatrixEncodeOptions;

options := InitializeDatamatrixEncodeOptions;
options.moduleSize := 4;
options.marginSize := 10;
options.rotate := 0;
options.scheme := DmtxScheme(2);
options.sizeIdx := DmtxSymbolSize(DmtxSymbol16x16);//DmtxSymbolSize(2-3);
options.mosaic := 0;
EncodeDatamatrix(Funcoes.ColocaZero('Produto:3445Produto:123',imgBarcode.Picture.Bitmap,options);

According to the amount of information I have inside DataMatrix will vary its size, ie if I have 20 products DataMatrix is one size, if I have 2 products will have another size. How do I leave the static size, for example 100x100?

Data MatixBarcode lib dmtx

    
asked by anonymous 18.10.2016 / 15:14

0 answers