Link Search Menu Expand Document

ImagePreprocessingFiltersCollectionAddScale Method (Int32, InterpolationMode)

Add Scale image processing filter with specified size limit and interpolation mode. When the image width or height exceeds the limit, the image proportionally resized to it.

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
public void AddScale(
	int autoSizeLimit,
	InterpolationMode interpolationMode
)

Parameters

autoSizeLimit
Type: SystemInt32
Size limit in pixels.
interpolationMode
Type: System.Drawing.Drawing2DInterpolationMode
Interpolation mode (InterpolationMode).
See Also

Reference