PDF Automation Station

PDF Automation Station

Positioning PDF Stamps Programmatically Part V

Page rotation tricks

David Dagley's avatar
David Dagley
Jul 19, 2025
∙ Paid
Share
blue and white polka dot ribbon
Photo by Nick Fewings on Unsplash

Page coordinate arrays (page box). as well the rectangle (rect property) of form fields are in the following order (clockwise starting on the left):

  1. Left

  2. Top

  3. Right

  4. Bottom

Markup annotations like stamps also start on the left, but move counterclockwise:

  1. Left

  2. Bottom

  3. Right

  4. Top

The fact that the bottom and the top are reversed with annotations and the fact that the rect property of form fields is in rotatated user space, which the rect property of stamps is in default user space makes placing stamps programatically relative to the page box extremely complicated.


Positioning PDF Stamps Programmatically Part IV

Positioning PDF Stamps Programmatically Part IV

David Dagley
·
Jul 12
Read full story

I trust the way I outline this will simplify the process for you. If you want learn JavaScript for Adobe Acrobat from the ground up, please consider supporting my work by enrolling in my online course.

Get the course above, and a suite of automation tools for FREE with a Professional subscription.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 David Dagley
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture