Insert watermark (P)

Modified on Mon, 5 Oct at 1:53 PM

BaseExtensions can be used to insert a watermark on a presentation in PowerPoint. The watermark is a specific shape with specified size and coordinates. With this feature, we target the master, and by that the watermark will be included on new slides as well.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\54a_P_insertWatermark.xml

CMD

<Cmd case="BaseExtensions:insert-watermark-presentation"/>

Parameters

path

Define path of the picture to be inserted as watermark. If the picture is located in the client's Content folder, just define the filename in this parameter. If it is located in more folders, the path for these must be defined.

As an example, if the picture is located in a folder in BaseExtensions in the Content folder, write it like this:

BaseExtensions/FolderName/FileName.jpeg

position

Define position of the watermark. Here are the options: topLeft, topRight, bottomLeft, bottomRight and center.

size

Define size of the watermark in percentages. The original picture is 100% and if it should be 25%, type "0.25" in this parameter. Remember to use a dot and not a comma.

id

Define an id for the watermark to make sure that remove watermark and bring to front will target the correct one (if there are several watermarks).

toggle

Set this parameter to be true if the command should work as a toggle button. If it is set to be false (or parameter is not used), the watermark can only be removed with this command matching the id of the watermark.

inMaster

Set this parameter to be true if the watermark should be inserted in the slide master, and by that not stay on top. If the parameter is set to be false (or is not used), the watermark will be inserted in the normal slides and will be able to lay on top of every other shape in the slides.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article