API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::getAnnotations Method
OdPage::getAnnotations Method
Syntax
C++
void getAnnotations(OdAnnotationPtrArray& annotations, OdRectArray& locations) const;
Parameters 
Description 
OdAnnotationPtrArray& annotations 
[out] A placeholder for the page annotations array.  
OdRectArray& locations 
[out] A placeholder for the annotation locations array. 

Returns all annotations that the page contains and their locations. The method fills two passed arrays with annotation objects and their locations, then returns these arrays to a calling subroutine. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.