AddStamp

PdfFileStamp.AddStamp method

Adds stamp to the file.

public void AddStamp(Stamp stamp)
Parameter Type Description
stamp Stamp Stamp object which.

Examples

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", "output.pdf");
Stamp stamp = new Aspose.Pdf.Facades.Stamp();
stamp.SetOrigin(140, 400);
stamp.SetImageSize(50, 50);
stamp.Opacity = 0.8f;
stamp.IsBackground = true;
stamp.BindImage("image.jpg");
fileStamp.AddStamp(stamp);
fileStamp.Close();

See Also