SetSize Method

Navigation:  Reference Guide > Methods >

SetSize Method

Previous pageReturn to chapter overviewNext page

Sets the size of the image which contains the DataMatrix barcode.

void SetSize(int Width, int Height);

Parameters

Width

The width, in pixels, of the image.

Height

The height, in pixels, of the image.

 

Remarks

First call GetActualSize() method to obtain the actual size of the DataMatrix barcode, then use this method to set image size by adding surrounding white space around the DataMatrix barcode.

 

See Also

GetActualSize() Method