I figured this out - just in case someone else has this issue.
The "/Rect" values of a PdfSharp's PdfTextField are not stored as [x, y, width, height], which is the way one instantiates an XRect object. They look to be stored as [x1, y1, x2, y2]. To get the height for my XRect I was creating, I just calculated (y2 - y1). For width, I was placing an image in the field, so I actually took the XImage's (height / width) instead of using the PdfTextField's width (x2 - x1), which could be quite arbitrary in my particular case.
ChrisB
|