VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.Dicom Namespace / WebDicomViewerBaseControlJS type / set_TextOverlayPadding Property
Syntax BrowserCompatibility SeeAlso
    set_TextOverlayPadding Method
    Sets the padding, in pixels, for text overlay.
    Syntax
    var instance = new Vintasoft.Imaging.Dicom.WebDicomViewerBaseControlJS(parentDiv);
    
    var returnValue; // Type: any
    
    // Parameters
    var left; // Type: number
    var top; // Type: number
    var right; // Type: number
    var bottom; // Type: number
    
    returnValue = instance.set_TextOverlayPadding(left, top, right, bottom);
    
    

    Parameters

    left
    Left text overlay padding. Valid value is 0 and any positive value. Default value 10.
    top
    Top text overlay padding. Valid value is 0 and any positive value. Default value 10.
    right
    Right text overlay padding. Valid value is 0 and any positive value. Default value 10.
    bottom
    Bottom text overlay padding. Valid value is 0 and any positive value. Default value 10.
    Browser Compatibility
    56+
    45+
    11
    See Also