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
We have code that shifts up the content of a PDF to insert a footer at the bottom.
We're using page.translateContent(0, footerHeight) to do so. One limitation is that if the PDF has annotations, those remain in place and are misaligned.
I propose that the library adds Page.translateAnnotations(x, y) which is essentially translateContent but for annotations only. Thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have code that shifts up the content of a PDF to insert a footer at the bottom.
We're using
page.translateContent(0, footerHeight)
to do so. One limitation is that if the PDF has annotations, those remain in place and are misaligned.I propose that the library adds
Page.translateAnnotations(x, y)
which is essentiallytranslateContent
but for annotations only. Thoughts?Beta Was this translation helpful? Give feedback.
All reactions