ImagePreprocessingFiltersCollectionAddScale Method (Int32, Boolean, InterpolationMode)ByteScout Barcode Reader SDK
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,
	bool enlargeSmallImages,
	InterpolationMode interpolationMode
)

Parameters

autoSizeLimit
Type: SystemInt32
Size limit in pixels.
enlargeSmallImages
Type: SystemBoolean
Whether to enlarge small images to the specified limit.
interpolationMode
Type: System.Drawing.Drawing2DInterpolationMode
Interpolation mode (InterpolationMode).
See Also

Reference