ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor method

Modifie l’auteur des annotations sur la plage de pages spécifiée.

public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
ParamètreTaperLa description
startInt32Le numéro de la page de démarrage.
endInt32Le numéro de la page de fin.
srcAuthorStringL’auteur qui doit être modifié.
desAuthorStringLe nouvel auteur.

Exemples

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

Voir également