ExtractAnnotations
Innehåll
[
Dölj
]ExtractAnnotations(int, int, string[])
Hämtar listan över anteckningar av de angivna typerna.
public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
Parameter | Typ | Beskrivning |
---|---|---|
start | Int32 | Startsida från vilken anteckningarna kommer att väljas. |
end | Int32 | Slutsida som anteckningarna kommer att väljas till. |
annotTypes | String[] | Mängden nödvändiga anteckningstyper. |
Returvärde
Anteckningslista.
Exempel
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
Se även
- class Annotation
- class PdfAnnotationEditor
- namnutrymme Aspose.Pdf.Facades
- hopsättning Aspose.PDF
ExtractAnnotations(int, int, AnnotationType[])
Hämtar listan över anteckningar av de angivna typerna.
public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
Parameter | Typ | Beskrivning |
---|---|---|
start | Int32 | Startsida från vilken anteckningarna kommer att väljas. |
end | Int32 | Slutsida som anteckningarna kommer att väljas till. |
annotTypes | AnnotationType[] | Mängden nödvändiga anteckningstyper. |
Returvärde
Anteckningslista.
Exempel
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
Se även
- class Annotation
- enum AnnotationType
- class PdfAnnotationEditor
- namnutrymme Aspose.Pdf.Facades
- hopsättning Aspose.PDF