StampBindPdf Method (String, Int32)
Sets PDF file and number of page which will be used as stamp.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public void BindPdf(
	string pdfFile,
	int pageNumber
)

Parameters

pdfFile
Type: SystemString
Path to PDF file.
pageNumber
Type: SystemInt32
Number of page in PDF file
Examples
C#
PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", "output.pdf");
Stamp stamp = new Stamp();
//First page will be used as stamp.
stamp.BindPdf("stamp.pdf", 1);
stamp.IsBackground = true;
fileStamp.AddStamp(stamp);
fileStamp.Close();
See Also