SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Image Class / Image Constructor / Image Constructor(String)
The file containing an image.




In This Topic
    Image Constructor(String)
    In This Topic
    Initializes a new instance of Image object from the specified file.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal imageFile As String _
    )
    'Usage
     
    
    Dim imageFile As String
     
    Dim instance As New Image(imageFile)
    public Image( 
       string imageFile
    )
    public: Image( 
       string* imageFile
    )
    public:
    Image( 
       String^ imageFile
    )

    Parameters

    imageFile
    The file containing an image.
    Remarks

    The picture must be presented in one of the following formats:

    BMP, CLP, CUR, DIB, DNG, GIF, JPEG, PNG, TIFF

    The only first page of the multipage file will be used.

    See Also