• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PDF Embeded api - Add Api to retrieve Page dimensions

Community Beginner ,
May 30, 2021 May 30, 2021

Copy link to clipboard

Copied

To place an annotation programatically exactly and center is precisely the document dimensions of the current page is required. Currently there is no api to retrieve these dimensions - In the old pdf javascript world this could be done by 

 

var rctBBox = this.getPageBox("BBox",pageNumber);

 

This can be then used to determine the dimensions of the bounding box of the annotation.

However, there is no equivalent of this in the Adobe Embedded PDF javascript API. 

Views

314

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
community guidelines
Community Beginner ,
Jun 16, 2021 Jun 16, 2021

Copy link to clipboard

Copied

So far there has been no reply to my query. Just asking if there is a way to retreive the current page dimensions using the  PDF Embed API and if not whether you would be able to add this to the API as a new feature request.

Votes

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
community guidelines
New Here ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

LATEST

Hi @Shelton5C73,
Currrently there is no PDF Embed API to retreive page dimensions, but we'll consider this for future enhancements.
Thanks!

Votes

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
community guidelines
Resources