Skip to main content
Inspiring
Sep 12, 2020 2:40 AM UTC
Question

PDF Embed API - get Screenshot?

How do I take a screenshot of an area in a PDF file when I have coordinates for that place?
This is exactly about the screenshot of annotation.

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Joel Geraci
Community Expert
Community Expert
Sep 14, 2020 12:52 PM UTC

Embed API does not prevent OS level screen captures. Are you asking how to render a portion of a page to an image? 

Translate
look997Author
Inspiring
Sep 14, 2020 1:04 PM UTC

"Are you asking how to render a portion of a page to an image? "

Yes. But I want to be able to do it from the frontend, from client side.
I'd rather not do that from the backend.

 

I would like to use `result [0] .target.selector.boundingBox`, plus margin.

Translate
Joel Geraci
Community Expert
Community Expert
Sep 14, 2020 1:24 PM UTC

Ok - That's quite complicated even with basic HTML that's not inside a canvas. Take a look at the top answer on Stack here. You might be able to use the html2canvas script but I have not tried it personally.

Translate
Adobe Employee
Sep 14, 2020 7:01 AM UTC

Hi, Thanks for choosing PDF Embed API, Currently it is not possible to achieve the requested behavior. Please stay tuned for more updates.

Translate