Turn on Snap on Calibrate

Product: Web viewer

Product Version: 11.7.1

Please give a brief summary of your issue:
Turn on Snap on Calibrate

Please describe your issue and provide steps to reproduce it:
We need to turn on Snap when Calibrating or all other measurements are off.

Hello, I’m AiRon, an automated tech support bot :robot:
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:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.


I want to enable snap on calibrate same as we have snap for normal measurement.

Hello @rishumishra2001,

Thank you for posting on our forum.

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);

You can find the API doc here: https://sdk.apryse.com/api/web/Core.Tools.CalibrationMeasurementTool.html#setSnapMode__anchor

Let us know if this works for you!

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.