VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.VisualTools Namespace / WebPdfContentEditorToolJS type / changeHorizontalAlignmentForSelectedText Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    changeHorizontalAlignmentForSelectedText Method
    In This Topic
    Changes the horizontal alignment for selected text.
    Syntax
    var instance = new Vintasoft.Imaging.Pdf.UI.VisualTools.WebPdfContentEditorToolJS();
    
    var value; // Type: any
    
    // Parameters
    var horizontalAlignment; // Type: number
    
    value = instance.changeHorizontalAlignmentForSelectedText(horizontalAlignment);
    
    
    function changeHorizontalAlignmentForSelectedText(
    horizontalAlignment
    The horizontal alignment: 0 - left, 1 - center, 2 - right, 3 - justify.
    : number
    ) : any;

    Parameters

    horizontalAlignment
    The horizontal alignment: 0 - left, 1 - center, 2 - right, 3 - justify.
    Browser Compatibility
    56+
    45+
    11
    See Also