Link Search Menu Expand Document

IBarcodeSetCustomCaptionGap 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 (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
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.
Remarks
You should use this method after setting the ResolutionY property.
See Also

Reference