DeleteStampByIds

DeleteStampByIds(int[])

Tar bort stämplar med specificerade ID från alla sidor i dokumentet.

public void DeleteStampByIds(int[] stampIds)
ParameterTypBeskrivning
stampIdsInt32[]Uppsättning stämpel-ID:n.

Exempel

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

Se även


DeleteStampByIds(int, int[])

Tar bort stämplar på den angivna sidan med flera stämpel-ID:n.

public void DeleteStampByIds(int pageNumber, int[] stampIds)
ParameterTypBeskrivning
pageNumberInt32Sidnummer där frimärken kommer att raderas.
stampIdsInt32[]Uppsättning stämpel-ID:n.

Exempel

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

Se även