Link Search Menu Expand Document

BarcodeControlFitInto Method (Single, Single, UnitOfMeasure)

IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in units. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area.

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

Parameters

width
Type: SystemSingle
The width of the area in specified units.
height
Type: SystemSingle
The height of the area in specified units.
unit
Type: Bytescout.BarCodeUnitOfMeasure
The unit of measure for area size.

Implements

IBarcodeFitInto(Single, Single, UnitOfMeasure)
See Also

Reference