Gets a list of the annotations found on this page.
public IList<PDFAnnotation> Annotations {get;}
Public ReadOnly Property Annotations As IList(Of PDFAnnotation)
public List<PDFAnnotation> getAnnotations()
public:
property IList<PDFAnnotation^>^ Annotations {
IList<PDFAnnotation^>^ get();
}
An IList of PDFAnnotation items that contain the annotations found in the page. The default value is null.
By default, the Annotations, Objects, FormFields, Signatures and Hyperlinks lists are not populated when a new PDFDocument is created and the values of these properties are null. You must call the PDFDocument.ParsePages method to parse the items are you interested in (depending on the PDFParsePagesOptions passed as the options parameter to the method). This is done for performance reasons and to give the user the ability to parse only the objects and pages of interest.
The Annotations list will be populated if PDFParsePagesOptions.Annotations is passed as part of the options parameter to PDFDocument.ParsePages. After this method returns, all the pages parsed will have their Annotations properties populated either with a list of the annotations found in the page or an empty list (with IListWhen parsing is finished, the Annotations property will contain a list of the PDFAnnotation items found in the page.
For an example on general parsing of PDF pages, refer to PDFDocumentPage, for an example on drawing the objects of a page on the surface of an image, refer to PDFObject.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document