Répondu
Custom (4-Digit) Page Number Format
Hello, is it possible to have a custom page number format (ex. 0001, 0002....etc.) added in a pdf file?
Hello, is it possible to have a custom page number format (ex. 0001, 0002....etc.) added in a pdf file?
What about: Text size? Font? Color? Distance from bottom of the page?
If you want to use the settings from your screenshot above, you can do it using this code:
for (var p=0; p<this.numPages; p++) {
this.addWatermarkFromText({
cText: util.printf("%04d", (p+1)), cFont: "Arial", nFontSize: 8, nStart: p, nEnd: p,
nHorizAlign: app.constants.align.center, nVertAlign: app.constants.align.bottom, nVertValue: 32
});
}
To remove these page numbers you can use the Remove Watermark command.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.