DeleteStampById

DeleteStampById(int, int)

按印章 ID 删除指定页上的印章。

public void DeleteStampById(int pageNumber, int stampId)
范围类型描述
pageNumberInt32将删除印章的页码。
stampIdInt32应删除的 stanp 标识符。

例子

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(1, 100);
contentEditor.Save("outfile.pdf");

也可以看看


DeleteStampById(int)

从文档的所有页面中按 ID 删除戳记。

public void DeleteStampById(int stampId)
范围类型描述
stampIdInt32应删除的戳记标识符。

例子

PdfContentEditor contentEditor = new PdfContentEditor();
contentEditor.BindPdf("file.pdf");
contentEditor.DeleteStampById(100);
contentEditor.Save("outfile.pdf");

也可以看看