Reference Guide
Reference Guides / JavaScript API / Actions / TWAIN Acquisition / TwainAcquireToNewDocument
In This Topic
    TwainAcquireToNewDocument
    In This Topic
     TwainAcquireToNewDocument

    This function allows you to scan from a specific TWAIN device in a new document.

    TwainAcquireToNewDocument: function (docuViewareID, deviceName, success, error)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to acquire in.
    deviceName
    A string that contains the TWAIN device name. You should call the TwainGetSources method prior this method to find the suitable device.
    success
    A function that will be executed upon subsequent acquisition process success.
    error
    A function that will be executed upon subsequent acquisition process error.

    Return Value

    1 if error, 0 if success.
    See Also