VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / AcquiredImageCollection Class / Add Method / Add(String) Method
Filename of image file.




In This Topic
    Add(String) Method
    In This Topic
    Adds an image(s) to the internal images buffer.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal filename As String _
    ) 
    'Usage
     
    Dim instance As AcquiredImageCollection
    Dim filename As String
     
    instance.Add(filename)
    public void Add( 
       string filename
    )
    public: void Add( 
       string* filename
    ) 
    public:
    void Add( 
       String^ filename
    ) 

    Parameters

    filename
    Filename of image file.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Thrown if image has unsupported format.
    Remarks
    This method allows to load only image formats supported by .NET Framework: BMP, GIF, multipage GIF, JPEG, PNG, TIFF, multipage TIFF.
    Requirements

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

    See Also