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

Editing the dimention of rectangle in Acrobat pro

New Here ,
Dec 02, 2024 Dec 02, 2024

Using acrobat pro. My requirement is to create a rectangle on a pdf file of specified dimentions. For example, even if I draw a reactangle free handedly, after giving 10*10mm lenghth & height, the rectangle should measure 10*10mm. After right clicking on rectangle it is allowing me to only change colour, line thickness, style etc.  See the attached screenshot for better clarity.

 

TOPICS
Edit and convert PDFs , Modern Acrobat , PDF
397
Translate
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 Expert ,
Dec 02, 2024 Dec 02, 2024

You can't change the dimensions in the properties.

Translate
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 Expert ,
Dec 02, 2024 Dec 02, 2024
LATEST

You can do it with a script. Select the Rectangle and then run this code from the JS Console and it will be resized to 10x10mm, aligned to the top-left corner of the original:

 

var mm = 2.83465;
var myAnnot = this.getAnnots()[0];
var r = myAnnot.rect;
r[2] = r[0]+(10*mm);
r[1] = r[3]-(10*mm);
myAnnot.setProps({rect: r});
Translate
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