Labels.NET component > API > Methods > Set Barcode property methods
SetBarcodeMarginSize(int iEl,float f)

Return type: bool

Sets the light margins width (in Document units) to the value of f. Default value is 0 (ie. No light margins for all barcode types except EAN and UPC barcodes (which can have human readable character in the light margins).

More:

SetBarcodeMarginIndicators(int iEl,bool b)