VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Barcode Namespace / ImageSharpExtensions Class / SetImage(BarcodeReader,Image) Method
Syntax Remarks Requirements SeeAlso
In This Topic
SetImage(BarcodeReader,Image) Method (ImageSharpExtensions)
In This Topic
Sets the current image from specified SixLabors.ImageSharp.Image.
Syntax
'Declaration

<ExtensionAttribute()>
Public Shared Sub SetImage( _
ByVal barcodeReader
Barcode reader.
As BarcodeReader, _
ByVal image
SixLabors.ImageSharp.Image with barcodes.
As SixLabors.ImageSharp.Image _
)
[Extension()]
public static void SetImage(
BarcodeReader barcodeReader,
SixLabors.ImageSharp.Image image
)

Parameters

barcodeReader
Barcode reader.
image
SixLabors.ImageSharp.Image with barcodes.
Remarks

Value of the ScanRectangle property must be set before calling this method if barcodes must be searched in an image region.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6

See Also