DeleteStampById
DeleteStampById(int, int)
按印章 ID 删除指定页上的印章。
public void DeleteStampById(int pageNumber, int stampId)
范围 | 类型 | 描述 |
---|---|---|
pageNumber | Int32 | 将删除印章的页码。 |
stampId | Int32 | 应删除的 stanp 标识符。 |
例子
PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(1, 100);
contentEditor.Save("outfile.pdf");
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
DeleteStampById(int)
从文档的所有页面中按 ID 删除戳记。
public void DeleteStampById(int stampId)
范围 | 类型 | 描述 |
---|---|---|
stampId | Int32 | 应删除的戳记标识符。 |
例子
PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(100);
contentEditor.Save("outfile.pdf");
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF