VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebCompositeAnnotationViewJS type / set_Size Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Size Method
    In This Topic
    Sets the size, in device-independent units (1/96th inch per unit), of the annotation.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebCompositeAnnotationViewJS(items);
    
    var returnValue; // Type: any
    
    // Parameters
    var width; // Type: number
    var height; // Type: number
    
    returnValue = instance.set_Size(width, height);
    
    
    function set_Size(
    width
    Annotation width. Default value is 0.
    : number,
    height
    Annotation height. Default value is 0.
    : number
    ) : any;

    Parameters

    width
    Annotation width. Default value is 0.
    height
    Annotation height. Default value is 0.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also