VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebFreeTextAnnotationViewJS type / set_TextPadding Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_TextPadding Method
    In This Topic
    Sets the text padding within the annotation.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebFreeTextAnnotationViewJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var left; // Type: number
    var right; // Type: number
    var top; // Type: number
    var bottom; // Type: number
    
    returnValue = instance.set_TextPadding(left, right, top, bottom);
    
    
    function set_TextPadding(
    left
    Left padding. Default value is 4.
    : number,
    right
    Right padding. Default value is 4.
    : number,
    top
    Top padding. Default value is 4.
    : number,
    bottom
    Bottom padding. Default value is 4.
    : number
    ) : any;

    Parameters

    left
    Left padding. Default value is 4.
    right
    Right padding. Default value is 4.
    top
    Top padding. Default value is 4.
    bottom
    Bottom padding. Default value is 4.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also