Now I want to add water mark to this file. I found the code for adding watermark to existing pdf file. instead I want to create and add watermark to. First off, yes, I know there are other tutorials on how to watermark PDF’s with iTextSharp. Unfortunately none of them showed me exactly what I. Second Edition · iText 5 examples · iText 5 manipulating an existing PDF; Watermark examples How to add a watermark to a page with an opaque image ?.

Author: Meztilkis Nakus
Country: Jamaica
Language: English (Spanish)
Genre: Education
Published (Last): 26 December 2005
Pages: 97
PDF File Size: 15.23 Mb
ePub File Size: 18.47 Mb
ISBN: 621-6-70058-148-1
Downloads: 5761
Price: Free* [*Free Regsitration Required]
Uploader: Yorisar

AddImage img, true ; writer.

You have to use itextsharp. Do you need your password? All times are GMT Sign up using Facebook.

: Watermark on a Exisiting PDF using iTextsharp Library

Without seeing the actual PDF you want to watermark, we can’t really help. I am not doing the man’s job, just giving an idea.

Originally Posted by WrongWayRookie. Net] Add watermark to existing Pdf file using iTextSharp This is excellent code and this is what i needed.

Watermark examples

Thanks for your help. Thanks once again Stanav Done it by myself. Exishing stamper As iTextSharp. This is not enterprise level code. One question though, is it possible to move the stamp so that it’s not right in the center of the page? The code below adds both a text watermark and a transparent image watermark to an existing pdf. I made it in asp.


You should post your question in asp. Sign up using Email and Password. Dim reader As iTextSharp.

Add a Diagonal Watermark to PDF in C#

Thanks to noter also for converting the code to C. Last edited by stanav; Apr 21st, at Email Required, but never shown.

If watermarkFont Is Nothing Then. Thanks in advance Sri. Keep up the good itxetsharp Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.

Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Net] Add watermark to existing Pdf file using iTextSharp Originally Posted by mestrini stanav What about a watermark that shows up only when printing?

I’m very new to iTextSHarp. Net] Add watermark to existing Pdf file using iTextSharp.


Net] Add watermark to existing Pdf file using iTextSharp This is the updated subroutine for adding multiple text line watermark to pdf pages. Read the question carefully. Some of the products that appear on this site are from companies from which QuinStreet receives compensation.

c# – watermark (text or image) in existing pdf – Stack Overflow

Net] Add watermark to existing Pdf file using iTextSharp well done. Net] Add watermark to existing Pdf file using iTextSharp hi everyonecan you post the sample project using this code. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. What I want to do is use the Agaramond-Pro font for the text and the data that I’m going to insert has italic data in between of the normal text?

This compensation may impact how and where products appear on this site including, for example, the order in which they appear.