Link Search Menu Expand Document

BarcodeControlSetMargins Method

Sets the barcode margins in specified units.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode.WinForms (in Bytescout.BarCode.WinForms.dll) Version: 7.6.3.1256-master
Syntax
public void SetMargins(
	float left,
	float top,
	float right,
	float bottom,
	UnitOfMeasure unit
)

Parameters

left
Type: SystemSingle
The left margin value in specified units.
top
Type: SystemSingle
The top margin value in specified units.
right
Type: SystemSingle
The right margin value in specified units.
bottom
Type: SystemSingle
The bottom margin value in specified units.
unit
Type: Bytescout.BarCodeUnitOfMeasure
The unit of measure for margin values.

Implements

IBarcodeSetMargins(Single, Single, Single, Single, UnitOfMeasure)
See Also

Reference