Aspose Demos > .NET Components > Aspose.Pdf.Kit > C# > Stamp Watermark to PDF
 

 Stamp Watermark to PDF - Aspose.Pdf.Kit

This demo Stamps Image or Text, over the input Pdf document, based over users selection.

Using AddStamp method in PdfFileStamp class of Aspose.Pdf.Kit component, developers can add watermark in the form of image (Jpg, Gif and Png) on each page/selected pages of Pdf file, at any specified location. Not even images, PdfFileStamp provides the flexibility to add Formatted text String as Logo over each page/selected pages of the PDF document, at any specified location.
Using PdfFileStamp, image can also be set as background to the Pdf document. Set the value for IsBackground property to True before calling AddStamp.

For more information, on how to add Text Logo, please visit Add Logo.
For more information, on how to set watermark, please visit Add Watermark.
For more information, on how to set background, please visit Add Background.

Choose text, message size and placement and/or image placement details and click Submit to see how demo takes input PDF file stamping it with text and/or image and sends the resulting document to user for review.

An  image and a text are added as watermark, logo or background on the input  pdf  here,






Page range
Rotation
Origin X px
Origin Y px
Specified with
Width
Height
Fontsize