DeleteStampByIds

DeleteStampByIds(int[])

从文档的所有页面中删除具有指定 ID 的图章。

public void DeleteStampByIds(int[] stampIds)
范围类型描述
stampIdsInt32[]邮票 ID 数组。

例子

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

也可以看看


DeleteStampByIds(int, int[])

删除指定页面上的多个印章 ID 的印章。

public void DeleteStampByIds(int pageNumber, int[] stampIds)
范围类型描述
pageNumberInt32将删除图章的页码。
stampIdsInt32[]邮票 ID 数组。

例子

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

也可以看看