ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor method

Modifica el autor de las anotaciones en el rango de páginas especificado.

public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
ParámetroEscribeDescripción
startInt32El número de la página de inicio.
endInt32El número de página final.
srcAuthorStringEl autor que debe ser modificado.
desAuthorStringEl nuevo autor.

Ejemplos

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

Ver también