Is possible to set Measurement Calibration Programmatically?

Which product are you using?
PDF.js Express Plus

PDF.js Express Version

Detailed description of issue
Is possible to set measurement calibration programmaticaly ?
because I don’t see any methods to do it from LineAnnotation API docs.
Screen Shot 2021-12-03 at 1.17.43 PM

Thanks :grinning_face_with_smiling_eyes:

Expected behaviour
I want to create my own Calibration modal interface outside the viewer

Does your issue happen with every document, or just one?
{Answer here}

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



See this guide for information on setting scale programmatically. (This is a PDFTron guide but everything is the exact same.

Let me know if you run into any issues.