PdfContentEditor.DeleteStampById
DeleteStampById(int, int)
Deletes stamp on the specified page by stamp ID.
public void DeleteStampById(int pageNumber, int stampId)
Parameter | Type | Description |
---|---|---|
pageNumber | Int32 | Page number where stamp will be deleted. |
stampId | Int32 | Identifier 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
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
DeleteStampById(int)
Delete stamp by ID from all pages of the document.
public void DeleteStampById(int stampId)
Parameter | Type | Description |
---|---|---|
stampId | Int32 | Identifier of stamp which should be deleted. |
Examples
PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(100);
contentEditor.Save("outfile.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF