...regardless of page orientation.
I need to add a form field to be on the top - centered on the page regardless if the page is portiat or landscape. Is this possible?
Everything works like a Charm with the exception of the alignment on the different page orientation - Here is what I have so far:
// add form field to each page of the PDF
for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++) { var dateStamp = this.addField("DateStamp","text",pageNumber,[450,770,155,790]); dateStamp.textSize=10; dateStamp.textColor=color.red;}
Please help!
DSatele
I need to add a form field to be on the top - centered on the page regardless if the page is portiat or landscape. Is this possible?
Everything works like a Charm with the exception of the alignment on the different page orientation - Here is what I have so far:
// add form field to each page of the PDF
for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++) { var dateStamp = this.addField("DateStamp","text",pageNumber,[450,770,155,790]); dateStamp.textSize=10; dateStamp.textColor=color.red;}
Please help!
DSatele