ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor method

Ändrar författaren till anteckningar på det angivna sidintervallet.

public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
ParameterTypBeskrivning
startInt32Startsidans nummer.
endInt32Slutsidans nummer.
srcAuthorStringFörfattaren som måste ändras.
desAuthorStringDen nya författaren.

Exempel

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ModifyAnnotationsAuthor(1, 2, "PREV AUTHOR", "NEW AUTHOR");
editor.Save("example_out.pdf");

Se även