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

    See Also