Skip navigation
_screen_name_
Currently Being Moderated

Need to change font size of automated bates number (watermark)

May 29, 2012 8:09 PM

Tags: #header #footer #watermark #page_number #automated #file_name #bates_number

I used the following javascript by Try67 to add the file name and page numbers to my documents:

 

for (var p=0; p<this.numPages; p++) {
    this.addWatermarkFromText({
        cText: this.documentFileName.replace(/\.pdf/i,"") + " " + (p+1),
        nTextAlign: app.constants.align.right,
        nHorizAlign: app.constants.align.center,
        nVertAlign: app.constants.align.bottom,
        nVertValue: 14,

        nStart: p
    });
}

 

However, I'd like to change the font size to something a little smaller.

 

I tried guessing at the correct code before posting ("textSize: 4,", "this.textSize: 4,", etc), but nothing worked.

 

Can anyone help me?

 

I'm also unsure where I can get a list of the parameters for text (nHorizAlign, nVertAlign, etc) so if anyone has a refernce page, that'd be great too.

 

Thankyou in advance!

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points