VintaSoft Barcode .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Barcode Namespace / BarcodeReader Class / SetImage Methods / SetImage(String) Method
Syntax Remarks Example Requirements SeeAlso
In This Topic
    SetImage(String) Method (BarcodeReader)
    In This Topic
    Sets the current image from specified file.
    Syntax
    'Declaration
    
    Public Overloads Sub SetImage( _
    ByVal filename
    The name of the image file with barcodes.
    As String _
    )
    public void SetImage(
    string filename
    )
    public: void SetImage(
    string* filename
    )
    public:
    void SetImage(
    string^ filename
    )

    Parameters

    filename
    The name of the image file with barcodes.
    Remarks

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

    Example

    Please see example here.

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also