• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dateiname soll als Wasserzeichen zugefügt werden

Explorer ,
Mar 07, 2019 Mar 07, 2019

Copy link to clipboard

Copied

Liebe User

Ich möchte mit einer Stapelverarbeitung in Adobe Acrobat DC Pro mit Javascript ein Wasserzeichen setzen wo jeweils der Dateiname ohne Endung aufgeführt wird.

Vorab sollte Philips Bern, stehen. Die Farbe ist rot, Schrift 14 Arial und 10mm vom linken Rand und 1.5 mm vom unteren Rand sein.

Wer kann mir helfen? Im Voraus vielen Dank.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

502

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 07, 2019 Mar 07, 2019

If I understand you correctly (my German is a bit rusty), this should do the trick:

var mm = 2.83465;

this.addWatermarkFromText({cText: "Philips Bern - " + this.documentFileName.replace(".pdf", ""), cFont: "Arial", nFontSize: 14, aColor: color.red,

    nHorizAlign: app.constants.align.left, nVertAlign: app.constants.align.bottom, nHorizValue: mm*10, nVertValue: mm*1.5});

Votes

Translate

Translate
Community Expert ,
Mar 07, 2019 Mar 07, 2019

Copy link to clipboard

Copied

If I understand you correctly (my German is a bit rusty), this should do the trick:

var mm = 2.83465;

this.addWatermarkFromText({cText: "Philips Bern - " + this.documentFileName.replace(".pdf", ""), cFont: "Arial", nFontSize: 14, aColor: color.red,

    nHorizAlign: app.constants.align.left, nVertAlign: app.constants.align.bottom, nHorizValue: mm*10, nVertValue: mm*1.5});

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 07, 2019 Mar 07, 2019

Copy link to clipboard

Copied

LATEST

Danke viel mal für die Antwort. Ich werde es morgen im Büro gleich testen. Einen schönen Abend.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines