VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebLinkAnnotationViewJS type / set_Padding Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Padding Method
    In This Topic
    Sets the interior spacing of the annotation.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebLinkAnnotationViewJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var width; // Type: number
    var height; // Type: number
    
    returnValue = instance.set_Padding(width, height);
    
    
    function set_Padding(
    width
    Interior width spacing of the annotation. Default value is 4.
    : number,
    height
    Interior height spacing of the annotation. Default value is 3.
    : number
    ) : any;

    Parameters

    width
    Interior width spacing of the annotation. Default value is 4.
    height
    Interior height spacing of the annotation. Default value is 3.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also