ExtractAnnotations
Inhalt
[
Ausblenden
]ExtractAnnotations(int, int, string[])
Ruft die Liste der Anmerkungen der angegebenen Typen ab.
public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
Parameter | Typ | Beschreibung |
---|---|---|
start | Int32 | Startseite, von der aus die Annotationen ausgewählt werden. |
end | Int32 | Endseite, zu der die Anmerkungen ausgewählt werden. |
annotTypes | String[] | Das Array der erforderlichen Anmerkungstypen. |
Rückgabewert
Anmerkungsliste.
Beispiele
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
Siehe auch
- class Annotation
- class PdfAnnotationEditor
- namensraum Aspose.Pdf.Facades
- Montage Aspose.PDF
ExtractAnnotations(int, int, AnnotationType[])
Ruft die Liste der Anmerkungen der angegebenen Typen ab.
public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
Parameter | Typ | Beschreibung |
---|---|---|
start | Int32 | Startseite, von der aus die Annotationen ausgewählt werden. |
end | Int32 | Endseite, zu der die Anmerkungen ausgewählt werden. |
annotTypes | AnnotationType[] | Das Array der erforderlichen Anmerkungstypen. |
Rückgabewert
Anmerkungsliste.
Beispiele
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
Siehe auch
- class Annotation
- enum AnnotationType
- class PdfAnnotationEditor
- namensraum Aspose.Pdf.Facades
- Montage Aspose.PDF