Phillip Senn
Phillip Senn

Reputation: 47625

Dimensions of a pdf page

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?

Upvotes: 1

Views: 681

Answers (1)

Ben Doom
Ben Doom

Reputation: 7885

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

Upvotes: 2

Related Questions