SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Image Class / Image Constructor / Image Constructor(Stream,Int32)
The data stream containing an image.
Page to be loaded.




In This Topic
    Image Constructor(Stream,Int32)
    In This Topic
    Initializes a new instance of Image object from the specified stream.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal imageStream As Stream, _
       ByVal page As Integer _
    )
    'Usage
     
    
    Dim imageStream As Stream
    Dim page As Integer
     
    Dim instance As New Image(imageStream, page)
    public Image( 
       Stream imageStream,
       int page
    )
    public: Image( 
       Stream* imageStream,
       int page
    )
    public:
    Image( 
       Stream^ imageStream,
       int page
    )

    Parameters

    imageStream
    The data stream containing an image.
    page
    Page to be loaded.
    Remarks

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

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

    See Also