PdfAnnotationEditor.ExtractAnnotations
Contenido
[
Ocultar
]ExtractAnnotations(int, int, string[])
Obtiene la lista de anotaciones de los tipos especificados.
public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
| Parámetro | Tipo | Descripción |
|---|---|---|
| start | Int32 | Página de inicio desde la cual se seleccionarán las anotaciones. |
| end | Int32 | Página final hasta la cual se seleccionarán las anotaciones. |
| annotTypes | String[] | El arreglo de tipos de anotaciones necesarias. |
Valor de Retorno
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);
Véase También
- clase Annotation
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF
ExtractAnnotations(int, int, AnnotationType[])
Obtiene la lista de anotaciones de los tipos especificados.
public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
| Parámetro | Tipo | Descripción |
|---|---|---|
| start | Int32 | Página de inicio desde la cual se seleccionarán las anotaciones. |
| end | Int32 | Página final hasta la cual se seleccionarán las anotaciones. |
| annotTypes | AnnotationType[] | El arreglo de tipos de anotaciones necesarias. |
Valor de Retorno
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);
Véase También
- clase Annotation
- enum AnnotationType
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF