VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Measurements Namespace / MeasuringAnnotationData Class / Calibration Property
Syntax Remarks Requirements SeeAlso
In This Topic
    Calibration Property (MeasuringAnnotationData)
    In This Topic
    Gets or sets the calibration value, which is used in calculation of GetMeasuredValues(VintasoftImage).
    Syntax
    'Declaration
    
    <DescriptionAttribute("The calibration of the annotation.")>
    <DefaultValueAttribute(1)>
    Public Overridable Property Calibration As Double
    
    
    [Description("The calibration of the annotation.")]
    [DefaultValue(1)]
    public virtual double Calibration { get; set; }
    
    
    [Description("The calibration of the annotation.")]
    [DefaultValue(1)]
    public: __property virtual double get_Calibration();
    public: __property virtual void set_Calibration(
    double value
    );
    [Description("The calibration of the annotation.")]
    [DefaultValue(1)]
    public:
    virtual property double Calibration { double get(); void set(double value); }

    Property Value

    Default value is 1.
    Remarks

    Real size of object can be differ from the size of object in the image. This property helps to solve this problem.
    Here is a formula: Real_size_of_object = Size_of_object_in_image * Calibration.
    For example, length of line 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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also