function AnnotationObjectCount(Index: Integer): Integer;
| Index | Integer. Zero-based index of the annotation on the current page. An index outside AnnotationCount raises EPdfError. |
| Result | Integer. Number of page objects owned by that annotation, or 0 when the annotation draws from an appearance stream instead. |
Anotasi ink dan stamp membawa karyanya sebagai objek halaman alih-alih sebagai konten halaman, jadi ini adalah titik masuk untuk memeriksa atau mengedit apa yang ditampilkan anotasi semacam itu
Subtipe lain biasanya mengembalikan 0: tampilannya berasal dari stream /AP, yang tidak diekspos PDFium sebagai daftar objek
Jumlah adalah nilai live. Ia berubah segera setelah AddPathToAnnotation atau RemoveAnnotationObject berjalan