Dimensions of a pdf page
-
30-09-2019 - |
문제
I'm adding a watermark to pdf document, but position 0,0 is the bottom left-hand corner. I need to put the watermark at the top left-hand corner.
Q: Using version 8 of ColdFusion, how do I determine the page size, or how can I position the watermark at the top?
Update: I think I should be looking at action="addHeader". Using leftmargin="0" and align="left", I was able to move it to the left, but is there a way to move it to the top?
해결책
Ray Camden has a blog entry about finding out the size and orientation of PDF pages.
http://www.coldfusionjedi.com/index.cfm/2008/8/12/Getting-page-orientation-and-size-from-PDFs
제휴하지 않습니다 StackOverflow