VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / IRuler Interface / Calibration Property
Syntax Remarks Requirements SeeAlso
In This Topic
    Calibration Property (IRuler)
    In This Topic
    Gets or sets the calibration value used in calculation of Length.
    Syntax
    'Declaration
    
    Public Property Calibration As Single
    
    
    public float Calibration { get; set; }
    
    
    public: __property float get_Calibration();
    public: __property void set_Calibration(
    float value
    );
    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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also