Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
To enable the “Snap” feature when calibrating in Apryse’s WebViewer, you need to adjust the measurement tools settings. The “Snap” feature helps in aligning measurements accurately by snapping to points or lines, which is particularly useful in precise calibration tasks.
Some things you can try:
Access the measurement tool settings in your WebViewer setup and ensure the Snap feature is enabled.
Check the calibration settings to confirm that snapping is activated for all relevant measurement types.
Implement or adjust JavaScript code to programmatically turn on snapping during calibration.
Here are some resources that might help you:
Measurement annotations: Learn how to use measurement tools effectively, including enabling snap features.
WebViewer Guides: Explore guides for customizing and configuring WebViewer functionalities.
To enable snap mode when calibrating, you can actually set the snap mode for the CalibrationMeasurementTool just like any other measurement tool. It would look like the following:
// replace with desired snapMode
instance.Core.documentViewer.getTool('AnnotationCreateCalibrationMeasurement').setSnapMode(instance.Core.Tools.SnapModes.LINE_MID_POINT);