PdfContentEditor.DeleteStampByIds

DeleteStampByIds(int[])

Deletes stamps with specified IDs from all pages of the document.

public void DeleteStampByIds(int[] stampIds)
ParameterTypeDescription
stampIdsInt32[]Array of stamp IDs.

Examples

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampByIds(new int[] { 102, 103 } );
contentEditor.Save("outfile.pdf");

See Also


DeleteStampByIds(int, int[])

Deletes stamps on the specified page by multiple stamp IDs.

public void DeleteStampByIds(int pageNumber, int[] stampIds)
ParameterTypeDescription
pageNumberInt32Page number where stamps will be deleted.
stampIdsInt32[]Array of stamp IDs.

Examples

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampByIds(1, new int[] { 100, 101 } );
contentEditor.Save("outfile.pdf");

See Also