VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebRulerAnnotationViewJS type / set_Calibration Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_Calibration Method
In This Topic
Sets the calibration value which is used for calculating the ruler length.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebRulerAnnotationViewJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_Calibration(value);

Parameters

value
Calibration value. Default value is 1.0.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Remarks

The ruler length is calculated as the ruler length on image multiplied to the value of this property.

Browser Compatibility
56+
45+
11
See Also