Can we get width and height of canvas that we have our pdf in?

PDF.js Express Version

Detailed description of issue
Need to get width and height of canvas so that we can can the annotation values of coordinates as a percentage of canvas dimensions?
Expected behaviour
{Provide a screenshot or description of the expected behaviour}

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

Code snippet
{Provide a relevant code snippet}

Hey there!

If you’re looking to just get the absolute size in pixel values, you can just select the #pageContainer1 div right out of the dom.

For the second page you would select #pageContainer2 etc.

Hopefully this helps!