This is a migrated thread and some comments may be shown as answers.

Report with 3 pages and different watermark in each page

1 Answer 21 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 02 Feb 2021, 02:56 PM

Hello,

 

I need to create a report with 3 pages and each page has to have different watermarks.

How can I achieve this?

 

I create 3 watermarks with following properties:

 1. PrintOnFirstPage - true, PrintOnLastPage - false

 2. PrintOnFirstPage - false, PrintOnLastPage - false

 3. PrintOnFirstPage - false, PrintOnLastPage - true

 

But the result is:

On page 1 there is watermark 1.

On page 3 there is watermark 3.

But on page 2 there are watermarks 1 and 2 which are one over the other.

 

How can i fix this?

 

Thank you in advance!

 

Best regards,

Miroslav Vasilev

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 05 Feb 2021, 11:16 AM

Hello Miroslav,

You can achieve such functionality by checking the PageNumber value to conditionally add a watermark. For example, using the IIF conditional function:

=IIF(PageNumber = 2, "C:\MyImageWatermark.png", null)

The ternary operator could also be used instead.

For more information, please have a look at the Add Watermark conditionally documentation.

Please let me know if you have any other questions.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Report Designer (standalone)
Asked by
n/a
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or