PdfContentEditor.DeleteStampByIds
Contents
[
Hide
]DeleteStampByIds(int[])
Deletes stamps with specified IDs from all pages of the document.
public void DeleteStampByIds(int[] stampIds)
Parameter | Type | Description |
---|---|---|
stampIds | Int32[] | 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
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
DeleteStampByIds(int, int[])
Deletes stamps on the specified page by multiple stamp IDs.
public void DeleteStampByIds(int pageNumber, int[] stampIds)
Parameter | Type | Description |
---|---|---|
pageNumber | Int32 | Page number where stamps will be deleted. |
stampIds | Int32[] | 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
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF