PdfContentEditor.DeleteStampById

DeleteStampById(int, int)

Deletes stamp on the specified page by stamp ID.

public void DeleteStampById(int pageNumber, int stampId)
ParameterTypeDescription
pageNumberInt32Page number where stamp will be deleted.
stampIdInt32Identifier of stanp which should be deleted.

Examples

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(1, 100);
contentEditor.Save("outfile.pdf");

See Also


DeleteStampById(int)

Delete stamp by ID from all pages of the document.

public void DeleteStampById(int stampId)
ParameterTypeDescription
stampIdInt32Identifier of stamp which should be deleted.

Examples

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(100);
contentEditor.Save("outfile.pdf");

See Also