ExtractAnnotations

ExtractAnnotations(int, int, string[])

Obtiene la lista de anotaciones de los tipos especificados.

public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
ParámetroEscribeDescripción
startInt32Página de inicio desde la que se seleccionarán las anotaciones.
endInt32Página final a la que se seleccionarán las anotaciones.
annotTypesString[]La matriz de tipos de anotación necesarios.

Valor_devuelto

Lista de anotaciones.

Ejemplos

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);

Ver también


ExtractAnnotations(int, int, AnnotationType[])

Obtiene la lista de anotaciones de los tipos especificados.

public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
ParámetroEscribeDescripción
startInt32Página de inicio desde la que se seleccionarán las anotaciones.
endInt32Página final a la que se seleccionarán las anotaciones.
annotTypesAnnotationType[]La matriz de tipos de anotación necesarios.

Valor_devuelto

Lista de anotaciones.

Ejemplos

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);

Ver también