Link Search Menu Expand Document

BarcodeControlGetMargins Method

Returns 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 GetMargins(
	out float left,
	out float top,
	out float right,
	out float bottom,
	UnitOfMeasure unit
)

Parameters

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

Implements

IBarcodeGetMargins(Single, Single, Single, Single, UnitOfMeasure)
See Also

Reference