VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Svg Namespace / WebStampAnnotationViewJS type / set_TextPadding Method
Left padding. Default value is 4.
Right padding. Default value is 4.
Top padding. Default value is 4.
Bottom padding. Default value is 4.
In This Topic
    set_TextPadding Method
    In This Topic
    Sets the text padding within the annotation.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Svg.WebStampAnnotationViewJS();
    var value; // Type: any
    
    // Parameters
    var left; // Type:  number
    var right; // Type:  number
    var top; // Type:  number
    var bottom; // Type:  number
    
    value = instance.set_TextPadding(left, right, top, bottom);
    function set_TextPadding( 
       left : number,
       right : number,
       top : number,
       bottom : 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
    9
    5
    15
    5
    See Also