logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
eltons  
#1 Posted : Tuesday, June 25, 2019 8:49:10 AM(UTC)
eltons

Rank: Newbie

Groups: Registered
Joined: 6/25/2019(UTC)
Posts: 2
Taiwan, Province Of China
Location: Kaohsiung

Hi,
is it possible to provide a add image(.png) watermark in pdf document on runtime?

Thanks for your time!

Regards
Elton
Paul Rayman  
#2 Posted : Tuesday, June 25, 2019 9:18:37 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 814

Thanks: 1 times
Was thanked: 100 time(s) in 98 post(s)
Yes, it is possible

Please find an example here:
https://forum.patagames.com/posts/t556-Watermark

You may provide a PdfImageObject instead of text in the example.
Code:
var img = PdfImageObject.Create(document, PdfBitmap.FromFile(file_name), 0, 0);

Edited by user Tuesday, June 25, 2019 9:22:46 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.