VintaSoft Imaging .NET SDK 12.5: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationViewJS 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.WebAnnotationViewJS();
    
    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.
    Thrown if size is negative.
    Browser Compatibility
    56+
    45+
    11
    See Also