VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_MultipageDisplayImagePadding Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_MultipageDisplayImagePadding Method
    In This Topic
    Sets the image padding in multipage display mode.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
    
    var returnValue; // Type: any
    
    // Parameters
    var left; // Type: number
    var top; // Type: number
    var right; // Type: number
    var bottom; // Type: number
    
    returnValue = instance.set_MultipageDisplayImagePadding(left, top, right, bottom);
    
    
    function set_MultipageDisplayImagePadding(
    left
    Left image padding. Valid value is 0 and any positive value. Default value 4.
    : number,
    top
    Top image padding. Valid value is 0 and any positive value. Default value 4.
    : number,
    right
    Right image padding. Valid value is 0 and any positive value. Default value 4.
    : number,
    bottom
    Bottom image padding. Valid value is 0 and any positive value. Default value 4.
    : number
    ) : any;

    Parameters

    left
    Left image padding. Valid value is 0 and any positive value. Default value 4.
    top
    Top image padding. Valid value is 0 and any positive value. Default value 4.
    right
    Right image padding. Valid value is 0 and any positive value. Default value 4.
    bottom
    Bottom image padding. Valid value is 0 and any positive value. Default value 4.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if argument is negative.
    Browser Compatibility
    56+
    45+
    11
    See Also