VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / SkiaSharpExtensions Class / SetImage(BarcodeReader,SKBitmap) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    SetImage(BarcodeReader,SKBitmap) Method (SkiaSharpExtensions)
    In This Topic
    Sets the current image from specified SkiaSharp.SKBitmap.
    Syntax
    'Declaration
    
    <ExtensionAttribute()>
    Public Shared Sub SetImage( _
    ByVal barcodeReader
    Barcode reader.
    As BarcodeReader, _
    ByVal image
    SkiaSharp.SKBitmap with barcodes.
    As SkiaSharp.SKBitmap _
    )
    [Extension()]
    public static void SetImage(
    BarcodeReader barcodeReader,
    SkiaSharp.SKBitmap image
    )
    [Extension()]
    public: static void SetImage(
    BarcodeReader* barcodeReader,
    SkiaSharp.SKBitmap image
    )
    [Extension()]
    public:
    static void SetImage(
    BarcodeReader^ barcodeReader,
    SkiaSharp.SKBitmap image
    )

    Parameters

    barcodeReader
    Barcode reader.
    image
    SkiaSharp.SKBitmap 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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7

    See Also