Switch that indicates whether to open the file in associated viewer software when it is double-clicked.
Syntax
Initialize
JavaScript | ![]() |
---|---|
<script type="text/javascript" src="iuembed.js"></script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("EnableFileViewer", "true"); //...other params... iu.writeHtml(); </script> |
Get/Set Value in Runtime
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").setEnableFileViewer(value); value = getImageUploader("ImageUploaderID").getEnableFileViewer(); |
Property Value
A boolean value (true
or false
). If true
,
the file is opened in the external file viewer by double-click. Otherwise, clicking (in two
pane mode) or double-clicking (in three pane mode) on the image thumbnail (or the file icon)
adds it to the upload list.
Default value is "true".