Resources Base
Table of contents

Development

How many images can be scanned?

You can set the properties IfAllowLocalCache and BufferMemoryLimit so that you can scan thousands of images at a time. Images over the set memory limit will be cached temporarily.

The cache data will be stored at [AppData]/Roaming/Dynamsoft/DynamsoftService/cache and be encrypted. When the scan application is closed, cache data will be removed from disk automatically.


function AcquireImage() {
    DWObject.IfAllowLocalCache = true;  //The default value of IfAllowLocalCache is false. When the property is set to true, you can scan as many images as you want as long as you have a big enough disk.
    DWObject.BufferMemoryLimit = 800;   //This property is only valid when IfAllowLocalCache is set to true.
    DWObject.SelectSource();
    DWObject.OpenSource();
    DWObject.AcquireImage();
}

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support