VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode Namespace / BarcodeReader Class / SetImage Method / SetImage(String) Method
The name of the image file with barcodes.




In This Topic
    SetImage(String) Method
    In This Topic
    Sets the current image from specified file.
    Syntax
    'Declaration
     
    Public Overloads Sub SetImage( _
       ByVal filename As String _
    ) 
    'Usage
     
    Dim instance As BarcodeReader
    Dim filename As String
     
    instance.SetImage(filename)
    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 ReaderSettings.ScanRectangle property must be set before calling this method if barcodes must be seacrhed in an image region.
    Example
    Please see example here.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also