Not getting response of arc measurement,perimeter and area

Which product are you using?

PDF.js Express Version

Detailed description of issue
We are not getting response of arc measurement,perimeter and area, and getting below error

Expected behaviour
Should get the XFDF response of above mentioned features.

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

Link to document
{Any pdf}

Code snippet
import WebViewer from “@pdftron/pdfjs-express”;
import { useEffect, useRef } from “react”;

const element = document.getElementById(“viewer”);
export default function App() {
const inst = useRef();
useEffect(() => {
WebViewer(
{
path: “WebViewer/lib”,
initialDoc:
Agriculture plan Hamirpur.pdf - Google Drive”,
},
element
).then((instance) => {
inst.current = instance;
instance.Core.documentViewer.addEventListener(
“documentLoaded”,
async () => {}
);
});
});
const saveButton = document.getElementById(“save”);
saveButton.addEventListener(“click”, async () => {
const xfdf = await inst.Core.annotationManager.exportAnnotations();
console.log(xfdf);
});

return (


PDF VIEWER



<button " id=“save”>
Save

);
}

Hi there,

Thank you for reaching out to pdf.js express,

Please try this build here:
https://pdftron.s3.amazonaws.com/custom/ID-zJWLuhTffd3c/WebViewer/PDFJSExpress-8.7.0-51179.zip

Best regards,
Kevin Kim

Please provide react project build for the same.

Hi there,

Please try the latest pdfjs express release available here:
8.7.3

Best regards,
Kevin Kim