Sets a specific ruler's calibration scale.
AnnPolyRulerObject.prototype.calibrate = function(sourceLength, sourceUnit, destinationLength, destinationUnit)
calibrate(sourceLength: LeadLengthD, sourceUnit: AnnUnit, destinationLength: LeadLengthD, destinationUnit: AnnUnit): void;
sourceLength
Known source length value
sourceUnit
Unit of measure for the sourceLength
destinationLength
Calculated destination length
destinationUnit
Unit of measure for the destinationLength
Calibrating a ruler means assigning a specific length to it. This method will use the parameters to calculate a new value for the CalibrationScale of this ruler. This value is used afterwards only by this ruler object.
To globally calibrate all existing and new ruler objects created in this container, use AnnContainerMapper.Calibrate. For example, on a digital X-ray of a hand, you may draw an annotation ruler object along one of the fingers. You know that this distance is supposed to be exactly 6.5 cm. Using the new calibration functionality you can calibrate this ruler, all existing rulers, and all newly created rulers so that they would precisely measure this distance to be 6.5 cm. This is accomplished by first drawing a ruler on the container until it matches exactly the length of the finger - ignoring the values shown - then using Calibrate.
Products |
Support |
Feedback: calibrate Method (AnnPolyRulerObject) - Leadtools.Annotations.Core |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.