How to Use JavaScript IntelliSense of Dynamic Web TWAIN in Visual Studio to Code Faster

Dynamic Web TWAIN SDK was designed to help developers build web-based document scanning application efficiently. Since version 10.1, we added JavaScript IntelliSense to help increase your productivity.

What is JavaScript IntelliSense?

According to MSDN, “IntelliSense helps you write code faster and with fewer errors by providing information while you code. As you work with client script in the JavaScript editor, IntelliSense lists the objects, functions, properties, and parameters that are available based on your current context. You can select a coding option from the pop-up list provided by IntelliSense to complete the code. “
Learn more about JavaScript IntelliSense>>

You can use Dynamic Web TWAIN JavaScript IntelliSense in Visual Studio 2010 or above and Eclipse 4.2 or above.

How to use Dynamic Web TWAIN JavaScript IntelliSense in Visual Studio

  1. Copy dynamsoft.webtwain.intellisense.js, which can be found in the Resources folder in the installation folder of Dynamic Web TWAIN SDK, to your Visual Studio project. (You can download the 30-day free trial if you don’t have the SDK on your machine.)
  2. In your target JS file, use the following code to add reference to the Dynamic Web TWAIN IntelliSense JS file:
    /// <reference path="[relative path]/dynamsoft.webtwain.intellisense.js" />
  3. Define a Dynamic Web TWAIN object. You should see the objects, functions, properties, and parameters of Dynamic Web TWAIN when coding using Dynamic Web TWAIN SDK.

    Dynamic Web TWAIN JavaScript Intellisens

Try DWT with IntelliSense

Let us know how JavaScript IntelliSense of Dynamic Web TWAIN helps in the Comments section below.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.

Subscribename@email.com