Link to home
Start Free TrialLog in
Avatar of Jim Horn
Jim HornFlag for United States of America

asked on

Explanation of textbox rect dimensions

The following code snippet creates a textbox on a pdf:

Set jso = PDDoc.GetJSObject
           
rect(0) = 100  ' x lower left
rect(1) = 100  ' y lower left
rect(2) = 300  ' x upper right
rect(3) = 200  ' y upper right

' add a form field
Set field = jso.addField("myFormField", "text", 0, rect)

Can someone provide me with a more detailed explanation of the coordinates for 0-3?  For some reason, I'm drawing a blank here, and it's not abundantly clear in any of the Adobe help docs.

TIA
-Jim
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jim Horn

ASKER

Makes sense.  I was able to stumble my way through testing this a couple of days ago.  

Thanks.
-Jim