Link Search Menu Expand Document

BarcodeControlSetCustomCaptionGap Method

Sets the gap size between the barcode and caption. To reset the gap to default (1/10 of caption font height) set gap to float.NaN.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode.WinForms (in Bytescout.BarCode.WinForms.dll) Version: 7.6.3.1256-master
Syntax
public void SetCustomCaptionGap(
	float gap,
	UnitOfMeasure unit
)

Parameters

gap
Type: SystemSingle
Gap size in specified units.
unit
Type: Bytescout.BarCodeUnitOfMeasure
The unit of measure for margin values.

Implements

IBarcodeSetCustomCaptionGap(Single, UnitOfMeasure)
Remarks
You should use this method after setting the ResolutionY property.
See Also

Reference