You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the low level acroform spec, we should be able to get dimensions / positions of fields.
A good use case for this is knowing where and what size to stamp an image. We can leave a blank readOnly field in our form, and effectively "fill" it with an image.
constform=doc.getForm();constfield=doc.getField('somefield');// This would be usefulconstfieldDimensions=field.getDimensions();// {x: number, y: number, width: number, height: number}
timothyjohnwilson, chislin, visoom, ChuckJonas, bjbk and 9 morefranciscoarrigoni