/electron

This sample demostrates how to use DWT in an Electron App

Primary LanguageHTML

Electron Sample

This sample demostrates how to use Dynamic Web TWAIN SDK in an Electron App.

How to use the sample

  1. Install Electron:

    npm install -g electron
  2. Go to apply for a trial key and get a trial key, then put the trial key in the file *index.html

    //Replace A-Valid-Product-Key with your key
    Dynamsoft.WebTwainEnv.ProductKey = "A-Valid-Product-Key";
  3. Run the app:

    electron .

    or

    npm start