VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebImageBaseAnnotationViewJS type / set_MaintainAspectRatio Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    set_MaintainAspectRatio Method
    In This Topic
    Sets a value indicating whether annotation must maintain the aspect ratio of image.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebImageBaseAnnotationViewJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: boolean
    
    returnValue = instance.set_MaintainAspectRatio(value);
    
    
    function set_MaintainAspectRatio(
    value
    Indicating whether annotation must maintain the aspect ratio of image. Default value is False.
    : boolean
    ) : any;

    Parameters

    value
    Indicating whether annotation must maintain the aspect ratio of image. Default value is False.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Remarks

    This property has higher priority than Symmetry property.

    Browser Compatibility
    56+
    45+
    11
    See Also