VintaSoft Imaging .NET SDK 12.5: 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);
    
    
    function set_DisplayMode(
    value
    An instance of WebImageViewerDisplayModeEnumJS class. Default value is "SinglePage".
    : WebImageViewerDisplayModeEnumJS
    ) : any;

    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