VintaSoft Imaging .NET SDK 10.0
Vintasoft.Imaging.Annotation Namespace / RulersAnnotationData Class / Calibration Property

In This Topic
    Calibration Property (RulersAnnotationData)
    In This Topic
    Gets or sets the calibration value used in calculation of Length.
    <DescriptionAttribute("The calibration of annotation.")>
    Public Property Calibration As Single
    [Description("The calibration of annotation.")]
    public float Calibration {get; set;}
    [Description("The calibration of annotation.")]
    public: __property float get_Calibration();
    public: __property void set_Calibration( 
       float value
    [Description("The calibration of annotation.")]
    property float Calibration {
       float get();
       void set (    float value);
    Real length of object (the Length property) can be differ from the length of object in the image. This property helps to solve this problem.
    Here is a formula: Real_length_of_object = Length_of_object_in_image * Calibration.
    For example, Length will be set to 10 centimeters if the length of object in the image is 5 centimeters and Calibration is set to 2.

    Target Platforms: .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also