VintaSoft Imaging .NET SDK v9.1 for .NET (.NET Core and .NET Framework)
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.
    Syntax
    'Declaration
     
    <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.")]
    public:
    property float Calibration {
       float get();
       void set (    float value);
    }
    Remarks
    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.
    Requirements

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

    See Also