VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / setTileSize Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    setTileSize Method
    In This Topic
    Sets the image tile size in the viewer.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
    
    var value; // Type: any
    
    // Parameters
    var width; // Type: number
    var height; // Type: number
    
    value = instance.setTileSize(width, height);
    
    
    function setTileSize(
    width
    Image tile width in pixels. Valid values are from 32 to 2048. Default value is 1024.
    : number,
    height
    Image tile height in pixels. Valid values are from 32 to 2048. Default value is 1024.
    : number
    ) : any;

    Parameters

    width
    Image tile width in pixels. Valid values are from 32 to 2048. Default value is 1024.
    height
    Image tile height in pixels. Valid values are from 32 to 2048. Default value is 1024.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also