DeleteStampByIds
DeleteStampByIds(int[])
从文档的所有页面中删除具有指定 ID 的图章。
public void DeleteStampByIds(int[] stampIds)
范围 | 类型 | 描述 |
---|---|---|
stampIds | Int32[] | 邮票 ID 数组。 |
例子
PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampByIds(new int[] { 102, 103 } );
contentEditor.Save("outfile.pdf");
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
DeleteStampByIds(int, int[])
删除指定页面上的多个印章 ID 的印章。
public void DeleteStampByIds(int pageNumber, int[] stampIds)
范围 | 类型 | 描述 |
---|---|---|
pageNumber | Int32 | 将删除图章的页码。 |
stampIds | Int32[] | 邮票 ID 数组。 |
例子
PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampByIds(1, new int[] { 100, 101 } );
contentEditor.Save("outfile.pdf");
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF