DeleteStampById

DeleteStampById(int, int)

Tar bort stämpel på angiven sida med stämpel-ID.

public void DeleteStampById(int pageNumber, int stampId)
ParameterTypBeskrivning
pageNumberInt32Sidnummer där stämpeln kommer att raderas.
stampIdInt32Identifierare för stanp som bör raderas.

Exempel

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

Se även


DeleteStampById(int)

Ta bort stämpel med ID från alla sidor i dokumentet.

public void DeleteStampById(int stampId)
ParameterTypBeskrivning
stampIdInt32Identifierare för stämpeln som bör raderas.

Exempel

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

Se även