VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_DisplayMode Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_DisplayMode Method
In This Topic
Sets current display mode of image viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var returnValue; // Type: any

// Parameters
var value; // Type: WebImageViewerDisplayModeEnumJS

returnValue = instance.set_DisplayMode(value);

Parameters

value
An instance of WebImageViewerDisplayModeEnumJS class. Default value is "SinglePage".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also