VintaSoft Imaging .NET SDK 15.1: 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);

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