VintaSoft Barcode .NET SDK v10.0
Vintasoft.WpfBarcode Namespace / BarcodeReader Class / SetImage Method / SetImage(BitmapSource) Method
Image with barcodes.




In This Topic
    SetImage(BitmapSource) Method
    In This Topic
    Sets the current image from specified image.
    Syntax
    'Declaration
     
    Public Overloads Sub SetImage( _
       ByVal image As BitmapSource _
    ) 
    'Usage
     
    Dim instance As BarcodeReader
    Dim image As BitmapSource
     
    instance.SetImage(image)
    public void SetImage( 
       BitmapSource image
    )
    public: void SetImage( 
       BitmapSource* image
    ) 
    public:
    void SetImage( 
       BitmapSource^ image
    ) 

    Parameters

    image
    Image 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