Watermark PDF for first page only

Avatar

Avatar
Validate 1
Level 1
Shaji_KGL
Level 1

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Shaji_KGL
Level 1

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Shaji_KGL
Level 1

20-07-2021

Hi All,

I searched in the DDXRef.pdf for watermarking for first page, but unable to find, there were "none", "oddpage", and "evenpage" is available.

Could someone advise with example of DDX, which can apply watermarking for first page of the PDF.

Either in <Header> or <Watermark> or <Background>. 

Shaji

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 25
Employee
PulkitJain
Employee

Likes

87 likes

Total Posts

89 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Give Back 10
Establish
Boost 25
View profile

Avatar
Affirm 25
Employee
PulkitJain
Employee

Likes

87 likes

Total Posts

89 posts

Correct reply

43 solutions
Top badges earned
Affirm 25
Boost 50
Give Back 10
Establish
Boost 25
View profile
PulkitJain
Employee

20-07-2021

@Shaji_KGL 

Watermarking and page content consider an alternation attribute ONLY in a DDX i.e apply to all pages or to alternating pages (all odd or even pages) in a source document. 

You may add a blank page with a watermark as the first page OR use the first page as a separate input doc with the watermark applied to the same.

<PDF result="out.pdf">
<BlankPage forceEven="true">
<Watermark>
<StyledText font-family="Helvetica" font-size="14">
<p>This is for testing purpose</p>
</StyledText>
</Watermark>
</BlankPage>
<PDF source="Input1.pdf"/>
<PDF source="Input2.pdf"/>
</PDF>


OR


<PDF result="out.pdf">
<PDF source="FirstPage.pdf"/>
<Watermark>
<StyledText font-family="Helvetica" font-size="14">
<p>This is for testing purpose</p>
</StyledText>
</Watermark>
<PDF source="Input1.pdf"/>
<PDF source="Input2.pdf"/>
</PDF>

 

 

Answers (0)