Highlighted

PDF Embed API - get Screenshot?

Community Beginner ,
Sep 11, 2020

Copy link to clipboard

Copied

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.

Topics

How to, PDF Embed API, PDF Tools API

Views

70

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

PDF Embed API - get Screenshot?

Community Beginner ,
Sep 11, 2020

Copy link to clipboard

Copied

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.

Topics

How to, PDF Embed API, PDF Tools API

Views

71

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Employee ,
Sep 14, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Sep 14, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Community Beginner ,
Sep 14, 2020

Copy link to clipboard

Copied

"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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Sep 14, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
cvan15A7 LATEST
Community Beginner ,
13 hours ago

Copy link to clipboard

Copied

html2canvas doesn't work at all for iframe.

As if to have access to the contents of an iframe, it would be possible.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources