Dev Center
Table of contents

Image Viewer

How can I disable drag and drop images in the viewer?

You can leverage the inbuilt API acceptDrop to disable the load functionality of the dropped images in the viewer.

DWObject.Viewer.acceptDrop = false;

Is this page helpful?

YesYes NoNo

In this article:

latest version

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